Package net.pwall.yaml
Class YAMLDecimal
java.lang.Object
java.lang.Number
net.pwall.json.JSONNumberValue
net.pwall.json.JSONDecimal
net.pwall.yaml.YAMLDecimal
- All Implemented Interfaces:
Serializable,net.pwall.json.JSONValue,YAMLNode,YAMLScalar
A YAML decimal (float) scalar.
- Author:
- Peter Wall
- See Also:
-
Field Summary
FieldsFields inherited from class net.pwall.json.JSONDecimal
ZERO -
Constructor Summary
ConstructorsConstructorDescriptionYAMLDecimal(String value) Construct aYAMLDecimalwith the given value and the default tag.YAMLDecimal(String value, String tag) Construct aYAMLDecimalwith the given value and tag. -
Method Summary
Methods inherited from class net.pwall.json.JSONDecimal
appendJSON, bigDecimalValue, bigIntegerValue, doubleValue, floatValue, getValue, intValue, longValue, toJSON, toSimpleValue, toString, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueOf, valueOf, valueOf, valueOfMethods inherited from class java.lang.Number
byteValue, shortValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.pwall.json.JSONValue
appendJSON, toJSON, toSimpleValue
-
Field Details
-
defaultTag
- See Also:
-
-
Constructor Details
-
YAMLDecimal
Construct aYAMLDecimalwith the given value and tag.- Parameters:
value- the valuetag- the tag
-
YAMLDecimal
Construct aYAMLDecimalwith the given value and the default tag.- Parameters:
value- the value
-
-
Method Details