Package org.core.vector
Class VectorConverter.Specific.AbstractSpecificWrapper<N extends Number,V extends Vector<N,?>>
java.lang.Object
org.core.vector.VectorConverter.Specific.AbstractSpecificWrapper<N,V>
- All Implemented Interfaces:
VectorConverter
,VectorConverter.Specific<N,V>
public static class VectorConverter.Specific.AbstractSpecificWrapper<N extends Number,V extends Vector<N,?>>
extends Object
implements VectorConverter.Specific<N,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.vector.VectorConverter
VectorConverter.Specific<N extends Number,V extends Vector<N,?>>
Nested classes/interfaces inherited from interface org.core.vector.VectorConverter.Specific
VectorConverter.Specific.AbstractSpecificWrapper<N extends Number,V extends Vector<N,?>>
-
Constructor Summary
ConstructorDescriptionAbstractSpecificWrapper(VectorConverter converter, Function<BigDecimal,N> function)
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(Function<BigDecimal,Num> function, BigDecimal... decimals)
int
getSize()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.vector.VectorConverter
convert, createDefaultValue
Methods inherited from interface org.core.vector.VectorConverter.Specific
convert
-
Constructor Details
-
AbstractSpecificWrapper
-
-
Method Details
-
getConverter
- Specified by:
getConverter
in interfaceVectorConverter.Specific<N extends Number,V extends Vector<N,?>>
-
getSize
public int getSize()- Specified by:
getSize
in interfaceVectorConverter
-
createInstance
public <Num extends Number> Vector<Num,?> createInstance(Function<BigDecimal,Num> function, BigDecimal... decimals)- Specified by:
createInstance
in interfaceVectorConverter
-