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
ConstructorsConstructorDescriptionAbstractSpecificWrapper(VectorConverter converter, Function<BigDecimal,N> function) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(Function<BigDecimal,Num> function, BigDecimal... decimals)intgetSize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.core.vector.VectorConverter
convert, createDefaultValueMethods inherited from interface org.core.vector.VectorConverter.Specific
convert
-
Constructor Details
-
AbstractSpecificWrapper
-
-
Method Details
-
getConverter
- Specified by:
getConverterin interfaceVectorConverter.Specific<N extends Number,V extends Vector<N,?>>
-
getSize
public int getSize()- Specified by:
getSizein interfaceVectorConverter
-
createInstance
public <Num extends Number> Vector<Num,?> createInstance(Function<BigDecimal,Num> function, BigDecimal... decimals)- Specified by:
createInstancein interfaceVectorConverter
-