public static class FloatVector.Factory extends java.lang.Object implements NumberVector.Factory<FloatVector>
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatVector.Factory.Parameterizer
Parameterization class.
|
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
ByteBufferSerializer<FloatVector> |
getDefaultSerializer()
Get the default serializer for this type.
|
java.lang.Class<? super FloatVector> |
getRestrictionClass()
Get the objects type restriction.
|
<A> FloatVector |
newFeatureVector(A array,
ArrayAdapter<? extends java.lang.Number,A> adapter)
Returns a new FeatureVector of V for the given values.
|
<A> FloatVector |
newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter)
Instantiate from any number-array like object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewNumberVector, newNumberVectorpublic <A> FloatVector newFeatureVector(A array, ArrayAdapter<? extends java.lang.Number,A> adapter)
FeatureVector.FactorynewFeatureVector in interface FeatureVector.Factory<FloatVector,java.lang.Number>A - Array typearray - the values of the featureVectoradapter - adapter classpublic <A> FloatVector newNumberVector(A array, NumberArrayAdapter<?,? super A> adapter)
NumberVector.FactorynewNumberVector in interface NumberVector.Factory<FloatVector>A - Array typearray - Arrayadapter - Adapterpublic ByteBufferSerializer<FloatVector> getDefaultSerializer()
FeatureVector.Factorynull when no serializer is available.getDefaultSerializer in interface FeatureVector.Factory<FloatVector,java.lang.Number>public java.lang.Class<? super FloatVector> getRestrictionClass()
FeatureVector.FactorygetRestrictionClass in interface FeatureVector.Factory<FloatVector,java.lang.Number>Copyright © 2019 ELKI Development Team. License information.