org.debellor.core.data
Class DataVector.DataVectorType
java.lang.Object
org.debellor.core.DataType
org.debellor.core.data.DataVector.DataVectorType
- Enclosing class:
- DataVector
public static final class DataVector.DataVectorType
- extends DataType
dataType of DataVector
.
Contains information about number and types of items in the vector.
Constructor Summary |
DataVector.DataVectorType(DataType... itemTypes)
Constructs a DataVectorType with a copy of the passed array (or variable-length list)
as an array of types of this vector's items. |
DataVector.DataVectorType(int length,
DataType type)
Constructs a DataVectorType for vectors of constant length
containing items of the same type . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataVector.DataVectorType
public DataVector.DataVectorType(DataType... itemTypes)
- Constructs a DataVectorType with a copy of the passed array (or variable-length list)
as an array of types of this vector's items.
DataVector.DataVectorType
public DataVector.DataVectorType(int length,
DataType type)
- Constructs a DataVectorType for vectors of constant
length
containing items of the same type
.
size
public int size()
get
public DataType get(int i)
get
public DataType[] get()
- Returns a shallow copy of the array of item types.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object