Package io.deephaven.qst.type
Class NativeArrayType<T,ComponentType>
java.lang.Object
io.deephaven.qst.type.ColumnTypeBase<T>
io.deephaven.qst.type.GenericTypeBase<T>
io.deephaven.qst.type.ArrayTypeBase<T,ComponentType>
io.deephaven.qst.type.NativeArrayType<T,ComponentType>
- Type Parameters:
T
- the array type representingthis
ComponentType
- the component type
- All Implemented Interfaces:
ArrayType<T,
,ComponentType> GenericType<T>
,Type<T>
@Immutable
public abstract class NativeArrayType<T,ComponentType>
extends ArrayTypeBase<T,ComponentType>
A java native array type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.qst.type.ArrayType
ArrayType.Visitor<R>
Nested classes/interfaces inherited from interface io.deephaven.qst.type.GenericType
GenericType.Visitor<R>
Nested classes/interfaces inherited from interface io.deephaven.qst.type.Type
Type.Visitor<R>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclazz()
The class representingthis
type.abstract Type<ComponentType>
The component type.static <T> NativeArrayType<T,
?> static <T,
ComponentType>
NativeArrayType<T,ComponentType> static <ComponentType>
NativeArrayType<ComponentType[],ComponentType> toArrayType
(GenericType<ComponentType> type) final <R> R
walk
(ArrayType.Visitor<R> visitor) Methods inherited from class io.deephaven.qst.type.ArrayTypeBase
walk
Methods inherited from class io.deephaven.qst.type.GenericTypeBase
arrayType, walk
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.qst.type.GenericType
arrayType
-
Constructor Details
-
NativeArrayType
public NativeArrayType()
-
-
Method Details
-
find
Description copied from interface:Type
- Type Parameters:
T
- the generic type ofclazz
- Parameters:
arrayType
- the class- Returns:
- the type
-
of
public static <T,ComponentType> NativeArrayType<T,ComponentType> of(Class<T> arrayType, Type<ComponentType> componentType) -
toArrayType
public static <ComponentType> NativeArrayType<ComponentType[],ComponentType> toArrayType(GenericType<ComponentType> type) -
clazz
Description copied from interface:Type
The class representingthis
type.- Returns:
- the class
-
componentType
Description copied from interface:ArrayType
The component type.- Returns:
- the component type
-
walk
-