Module org.meeuw.configuration
Package org.meeuw.configuration.spi
Class NumberToString<N extends Number>
java.lang.Object
org.meeuw.configuration.spi.AbstractToString<N>
org.meeuw.configuration.spi.NumberToString<N>
- All Implemented Interfaces:
Comparable<ToStringProvider<?>>,ToStringProvider<N>
- Direct Known Subclasses:
DoubleToString,FloatToString,IntegerToString,LongToString
-
Field Summary
Fields inherited from class org.meeuw.configuration.spi.AbstractToString
type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNumberToString(Class<?> primitiveType, Class<N> boxedType) -
Method Summary
Methods inherited from class org.meeuw.configuration.spi.AbstractToString
fromString, toString, valueOfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.meeuw.configuration.spi.ToStringProvider
compareTo
-
Constructor Details
-
NumberToString
-
-
Method Details
-
weight
public int weight()- Specified by:
weightin interfaceToStringProvider<N extends Number>- Overrides:
weightin classAbstractToString<N extends Number>
-
toWrapper
- Overrides:
toWrapperin classAbstractToString<N extends Number>
-