
V - Vector typeD - Data type of vectorpublic static interface FeatureVector.Factory<V extends FeatureVector<? extends D>,D> extends Parameterizable
| Modifier and Type | Method and Description |
|---|---|
ByteBufferSerializer<V> |
getDefaultSerializer()
Get the default serializer for this type.
|
Class<? super V> |
getRestrictionClass()
Get the objects type restriction.
|
<A> V |
newFeatureVector(A array,
ArrayAdapter<D,A> adapter)
Returns a new FeatureVector of V for the given values.
|
<A> V newFeatureVector(A array, ArrayAdapter<D,A> adapter)
A - Array typearray - the values of the featureVectoradapter - adapter classByteBufferSerializer<V> getDefaultSerializer()
null when no serializer is available.