public class YAMLLong extends net.pwall.json.JSONLong implements YAMLScalar
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultTag |
| Constructor and Description |
|---|
YAMLLong(long value)
Construct a
YAMLLong with the given value and the default tag. |
YAMLLong(long value,
String tag)
Construct a
YAMLLong 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 YAMLLong(long value,
String tag)
YAMLLong with the given value and tag.value - the valuetag - the tagpublic YAMLLong(long value)
YAMLLong with the given value and the default tag.value - the valueCopyright © 2021. All rights reserved.