public class YAMLDecimal extends net.pwall.json.JSONDecimal implements YAMLScalar
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultTag |
| Constructor and Description |
|---|
YAMLDecimal(String value)
Construct a
YAMLDecimal with the given value and the default tag. |
YAMLDecimal(String value,
String tag)
Construct a
YAMLDecimal 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, toJSON, toSimpleValue, toString, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueEquals, valueOf, valueOf, valueOf, valueOfbyteValue, shortValuepublic static final String defaultTag
public YAMLDecimal(String value, String tag)
YAMLDecimal with the given value and tag.value - the valuetag - the tagpublic YAMLDecimal(String value)
YAMLDecimal with the given value and the default tag.value - the valueCopyright © 2021. All rights reserved.