Top Fields Constructors Methods
com.typesafe.config.impl

pack-priv final Class ConfigInt

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 int
Inherited from com.typesafe.config.impl.ConfigNumber:
originalText

Constructor Summary

AccessConstructor and Description
pack-priv
ConfigInt(ConfigOrigin origin, int value, String originalText)

Method Summary

Modifier and TypeMethod and Description
protected double
protected long
protected ConfigInt
pack-priv String
public Integer
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 int value

Constructor Detail

ConfigIntback to summary
pack-priv ConfigInt(ConfigOrigin origin, int 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 ConfigInt 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 Integer 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:Integer

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.