org.debellor.core.data
Class DataVector.DataVectorType

java.lang.Object
  extended by org.debellor.core.DataType
      extended by 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.


Field Summary
 
Fields inherited from class org.debellor.core.DataType
dataClass, NOT_PRESENT, UNKNOWN
 
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.
 
Method Summary
 DataType[] get()
          Returns a shallow copy of the array of item types.
 DataType get(int i)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class org.debellor.core.DataType
asDataVectorType, asSymbolicFeatureType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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