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