public class JsonIntLiteralImpl extends JsonLiteralImpl implements JsonIntLiteral
JsonLiteralImpl.TypecachedValueString, length, literal, offsetgroup| Constructor and Description |
|---|
JsonIntLiteralImpl(long value) |
JsonIntLiteralImpl(String literal,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
Object |
asTemplateParam()
Converts value to value usable for some template frameworks.
|
JsonValue |
copy()
Makes deep copy of this value.
|
long |
longValue()
Long value of this literal (Integer is small)
|
JsonLiteralImpl.Type |
type() |
findAll, findFirst, instance, literal, remove, stringValue, toCompactString, toPrettyStringasArray, asBoolLiteral, asExpLiteral, asFracLiteral, asIntLiteral, asLiteral, asNullLiteral, asObject, asStringLiteral, findAll, findAllLiterals, findFirst, findFirstLiteral, group, isArray, isBoolLiteral, isDescendantOf, isExpLiteral, isFracLiteral, isIntLiteral, isLiteral, isNullLiteral, isObject, isStringLiteral, name, parent, parentIndex, path, pathAsString, replaceBy, setGroup, toCompactString, toPrettyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitliteral, stringValueasArray, asBoolLiteral, asExpLiteral, asFracLiteral, asIntLiteral, asLiteral, asNullLiteral, asObject, asStringLiteral, findAll, findAllLiterals, findFirst, findFirstLiteral, isArray, isBoolLiteral, isDescendantOf, isExpLiteral, isFracLiteral, isIntLiteral, isLiteral, isNullLiteral, isObject, isStringLiteral, name, parent, parentIndex, path, pathAsString, remove, replaceBy, toCompactString, toPrettyStringpublic JsonIntLiteralImpl(long value)
public JsonIntLiteralImpl(String literal, int offset, int length)
public JsonLiteralImpl.Type type()
type in class JsonLiteralImplpublic long longValue()
JsonIntLiterallongValue in interface JsonIntLiteralpublic JsonValue copy()
JsonValuepublic Object asTemplateParam()
JsonValueasTemplateParam in interface JsonValueCopyright © 2020. All rights reserved.