Top Fields Constructors Methods
com.typesafe.config.impl

pack-priv final Class ConfigDouble

extends ConfigNumber
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.ObjectStreamException, .Serializable, com.typesafe.config.ConfigOrigin, .ConfigValueType

Field Summary

Modifier and TypeField and Description
private static final long
private final double
Inherited from com.typesafe.config.impl.ConfigNumber:
originalText

Constructor Summary

AccessConstructor and Description
pack-priv
ConfigDouble(ConfigOrigin origin, double value, String originalText)

Method Summary

Modifier and TypeMethod and Description
protected double
protected long
protected ConfigDouble
pack-priv String
public Double
unwrapped()

Implements abstract com.typesafe.config.impl.ConfigNumber.unwrapped.

Implements com.typesafe.config.ConfigValue.unwrapped.

Returns the value as a plain Java boxed value, that is, a String, Number, Boolean, Map<String,Object>, List<Object>, or null, matching the valueType() of this ConfigValue.

public ConfigValueType
valueType()

Implements com.typesafe.config.ConfigValue.valueType.

The ConfigValueType of the value; matches the JSON type schema.

private Object
Inherited from com.typesafe.config.impl.ConfigNumber:
canEqualequalshashCodeintValueRangeCheckednewNumbernewNumber

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.typesafe.config.impl.ConfigNumber.serialVersionUID.

valueback to summary
private final double value

Constructor Detail

ConfigDoubleback to summary
pack-priv ConfigDouble(ConfigOrigin origin, double value, String originalText)

Method Detail

doubleValueback to summary
protected double doubleValue()

Implements abstract com.typesafe.config.impl.ConfigNumber.doubleValue.

Annotations
@Override
longValueback to summary
protected long longValue()

Implements abstract com.typesafe.config.impl.ConfigNumber.longValue.

Annotations
@Override
newCopyback to summary
protected ConfigDouble newCopy(ConfigOrigin origin)

Implements abstract com.typesafe.config.impl.AbstractConfigValue.newCopy.

Annotations
@Override
transformToStringback to summary
pack-priv String transformToString()

Overrides com.typesafe.config.impl.ConfigNumber.transformToString.

Annotations
@Override
unwrappedback to summary
public Double unwrapped()

Implements abstract com.typesafe.config.impl.ConfigNumber.unwrapped.

Implements com.typesafe.config.ConfigValue.unwrapped.

Doc from com.typesafe.config.ConfigValue.unwrapped.

Returns the value as a plain Java boxed value, that is, a String, Number, Boolean, Map<String,Object>, List<Object>, or null, matching the valueType() of this ConfigValue. If the value is a ConfigObject or ConfigList, it is recursively unwrapped.

Returns:Double

a plain Java value corresponding to this ConfigValue

Annotations
@Override
valueTypeback to summary
public ConfigValueType valueType()

Implements com.typesafe.config.ConfigValue.valueType.

Doc from com.typesafe.config.ConfigValue.valueType.

The ConfigValueType of the value; matches the JSON type schema.

Returns:ConfigValueType

value's type

Annotations
@Override
writeReplaceback to summary
private Object writeReplace() throws ObjectStreamException

Hides com.typesafe.config.impl.ConfigNumber.writeReplace.