public class YAMLInt extends net.pwall.json.JSONInteger implements YAMLScalar
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultTag |
| Constructor and Description |
|---|
YAMLInt(int value)
Construct a
YAMLInt with the given value and the default tag. |
YAMLInt(int value,
String tag)
Construct a
YAMLInt with the given value and tag. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getTag()
Get the tag of the node.
|
int |
hashCode() |
appendJSON, bigDecimalValue, bigIntegerValue, doubleValue, floatValue, getValue, intValue, longValue, toSimpleValue, toString, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueOf, valueOfbyteValue, shortValuepublic static final String defaultTag
public YAMLInt(int value,
String tag)
YAMLInt with the given value and tag.value - the valuetag - the tagpublic YAMLInt(int value)
YAMLInt with the given value and the default tag.value - the valueCopyright © 2021. All rights reserved.