Interface ArrayTypeInfo

All Superinterfaces:
TypeInfo

public sealed interface ArrayTypeInfo extends TypeInfo
ArrayTypeInfo
Version:
0.0.1
Author:
scx567888
  • Method Summary

    Modifier and Type
    Method
    Description
    组件类型, 此处只表示 当前组件的类型, 即对于多维数组 例如 String[][] 再此处拿到的是 String[]
    default <A> A
    newArray(int length)
    创建数组

    Methods inherited from interface cool.scx.reflect.TypeInfo

    rawClass
  • Method Details

    • componentType

      TypeInfo componentType()
      组件类型, 此处只表示 当前组件的类型, 即对于多维数组 例如 String[][] 再此处拿到的是 String[]
    • newArray

      default <A> A newArray(int length)
      创建数组