Package net.pwall.yaml
Class YAMLInt
java.lang.Object
java.lang.Number
net.pwall.json.JSONNumberValue
net.pwall.json.JSONInteger
net.pwall.yaml.YAMLInt
- All Implemented Interfaces:
Serializable,net.pwall.json.JSONValue,YAMLNode,YAMLScalar
A YAML integer scalar.
- Author:
- Peter Wall
- See Also:
-
Field Summary
FieldsFields inherited from class net.pwall.json.JSONInteger
ZERO -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.pwall.json.JSONInteger
appendJSON, bigDecimalValue, bigIntegerValue, doubleValue, floatValue, getValue, intValue, longValue, toSimpleValue, toString, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, 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
-
YAMLInt
Construct aYAMLIntwith the given value and tag.- Parameters:
value- the valuetag- the tag
-
YAMLInt
public YAMLInt(int value) Construct aYAMLIntwith the given value and the default tag.- Parameters:
value- the value
-
-
Method Details