Modifier and Type | Field and Description |
---|---|
(package private) static Doubles.DoubleConverter |
INSTANCE |
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
private |
DoubleConverter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
doBackward(java.lang.Double value)
Returns a representation of
b as an instance of type A . |
protected java.lang.Double |
doForward(java.lang.String value)
Returns a representation of
a as an instance of type B . |
private java.lang.Object |
readResolve() |
java.lang.String |
toString() |
andThen, apply, convert, convertAll, equals, from, identity, reverse
static final Doubles.DoubleConverter INSTANCE
private static final long serialVersionUID
protected java.lang.Double doForward(java.lang.String value)
Converter
a
as an instance of type B
. If a
cannot be
converted, an unchecked exception (such as IllegalArgumentException
) should be thrown.protected java.lang.String doBackward(java.lang.Double value)
Converter
b
as an instance of type A
. If b
cannot be
converted, an unchecked exception (such as IllegalArgumentException
) should be thrown.doBackward
in class Converter<java.lang.String,java.lang.Double>
value
- the instance to convert; will never be nullpublic java.lang.String toString()
toString
in class java.lang.Object
private java.lang.Object readResolve()