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 representingthisComponentType- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclazz()The class representingthistype.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> Rwalk(ArrayType.Visitor<R> visitor) Methods inherited from class io.deephaven.qst.type.ArrayTypeBase
walkMethods inherited from class io.deephaven.qst.type.GenericTypeBase
arrayType, walkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 ofdataType- Parameters:
arrayType- the data type- 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:TypeThe class representingthistype.- Returns:
- the class
-
componentType
Description copied from interface:ArrayTypeThe component type.- Returns:
- the component type
-
walk
-