Package elki.data.uncertain
Class UniformContinuousUncertainObject.Factory
- java.lang.Object
-
- elki.data.uncertain.UniformContinuousUncertainObject.Factory
-
- All Implemented Interfaces:
FeatureVector.Factory<UniformContinuousUncertainObject,java.lang.Number>
- Enclosing class:
- UniformContinuousUncertainObject
private static class UniformContinuousUncertainObject.Factory extends java.lang.Object implements FeatureVector.Factory<UniformContinuousUncertainObject,java.lang.Number>
Factory class for this data type. Not for public use, useUncertainifierto derive uncertain objects from certain vectors. TODO: provide serialization functionality.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferSerializer<UniformContinuousUncertainObject>getDefaultSerializer()Get the default serializer for this type.java.lang.Class<? super UniformContinuousUncertainObject>getRestrictionClass()Get the objects type restriction.<A> UniformContinuousUncertainObjectnewFeatureVector(A array, ArrayAdapter<? extends java.lang.Number,A> adapter)Returns a new FeatureVector of V for the given values.
-
-
-
Method Detail
-
newFeatureVector
public <A> UniformContinuousUncertainObject newFeatureVector(A array, ArrayAdapter<? extends java.lang.Number,A> adapter)
Description copied from interface:FeatureVector.FactoryReturns a new FeatureVector of V for the given values.- Specified by:
newFeatureVectorin interfaceFeatureVector.Factory<UniformContinuousUncertainObject,java.lang.Number>- Type Parameters:
A- Array type- Parameters:
array- the values of the featureVectoradapter- adapter class- Returns:
- a new FeatureVector of V for the given values
-
getDefaultSerializer
public ByteBufferSerializer<UniformContinuousUncertainObject> getDefaultSerializer()
Description copied from interface:FeatureVector.FactoryGet the default serializer for this type.Note, this may be
nullwhen no serializer is available.- Specified by:
getDefaultSerializerin interfaceFeatureVector.Factory<UniformContinuousUncertainObject,java.lang.Number>- Returns:
- Serializer
-
getRestrictionClass
public java.lang.Class<? super UniformContinuousUncertainObject> getRestrictionClass()
Description copied from interface:FeatureVector.FactoryGet the objects type restriction.- Specified by:
getRestrictionClassin interfaceFeatureVector.Factory<UniformContinuousUncertainObject,java.lang.Number>- Returns:
- Restriction class
-
-