Package com.google.common.primitives
Class Doubles.DoubleConverter
java.lang.Object
com.google.common.base.Converter<String,Double>
com.google.common.primitives.Doubles.DoubleConverter
- Enclosing class:
- Doubles
private static final class Doubles.DoubleConverter
extends Converter<String,Double>
implements Serializable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Doubles.DoubleConverterprivate static final long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.base.Converter
andThen, apply, convert, convertAll, equals, from, identity, reverse
-
Field Details
-
INSTANCE
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DoubleConverter
private DoubleConverter()
-
-
Method Details
-
doForward
Description copied from class:ConverterReturns a representation ofaas an instance of typeB. Ifacannot be converted, an unchecked exception (such asIllegalArgumentException) should be thrown. -
doBackward
Description copied from class:ConverterReturns a representation ofbas an instance of typeA. Ifbcannot be converted, an unchecked exception (such asIllegalArgumentException) should be thrown.- Specified by:
doBackwardin classConverter<String,Double> - Parameters:
value- the instance to convert; will never be null- Returns:
- the converted instance; must not be null
-
toString
-
readResolve
-