Interface TsonElement
- All Superinterfaces:
Comparable<TsonElement>, TsonElementBase
- All Known Subinterfaces:
TsonAlias, TsonArray, TsonBigComplex, TsonBigDecimal, TsonBigInt, TsonBinaryStream, TsonBoolean, TsonByte, TsonChar, TsonCharStream, TsonCustom, TsonDouble, TsonDoubleComplex, TsonFloat, TsonFloatComplex, TsonInstant, TsonInt, TsonListContainer, TsonLocalDate, TsonLocalDateTime, TsonLocalTime, TsonLong, TsonMatrix, TsonName, TsonNamedElement, TsonNull, TsonNumber, TsonObject, TsonOp, TsonPair, TsonParametrizedElement, TsonRegex, TsonShort, TsonString, TsonTemporal, TsonUplet
-
Method Summary
Modifier and TypeMethodDescriptionintbooleandefault TsonElementbuild()builder()bytecharcomments()doublefloatintintValue()booleanbooleanisArray()booleanbooleanbooleanbooleanbooleanisName()booleanbooleanbooleanbooleanisNull()booleanisNumber()booleanisObject()booleanbooleanisPair()booleanbooleanisSimple()booleanbooleanisString()booleanbooleanisUplet()longstatic TsonElementof(TsonElementBase any) shorttoAlias()toArray()toBigInt()toByte()toChar()toCustom()toDouble()toFloat()toInt()toLong()toMatrix()toName()toNumber()toObject()toOp()toPair()toRegex()toShort()toStr()toString(boolean compact) toUplet()booleanvisit(TsonDocumentVisitor visitor) voidvisit(TsonParserVisitor visitor) Methods inherited from interface Comparable
compareToMethods inherited from interface TsonElementBase
toString, toString, type
-
Method Details
-
of
-
annotationsCount
int annotationsCount() -
annotations
List<TsonAnnotation> annotations() -
toString
- Specified by:
toStringin interfaceTsonElementBase
-
comments
TsonComments comments() -
toStr
TsonString toStr() -
toNumber
TsonNumber toNumber() -
toLong
TsonLong toLong() -
toInt
TsonInt toInt() -
toFloat
TsonFloat toFloat() -
toDouble
TsonDouble toDouble() -
toShort
TsonShort toShort() -
toByte
TsonByte toByte() -
toChar
TsonChar toChar() -
toBoolean
TsonBoolean toBoolean() -
toCustom
TsonCustom toCustom() -
toName
TsonName toName() -
toAlias
TsonAlias toAlias() -
toLocalDate
TsonLocalDate toLocalDate() -
toLocalDateTime
TsonLocalDateTime toLocalDateTime() -
toInstant
TsonInstant toInstant() -
toLocalTime
TsonLocalTime toLocalTime() -
toRegex
TsonRegex toRegex() -
toMatrix
TsonMatrix toMatrix() -
toArray
TsonArray toArray() -
toListContainer
TsonListContainer toListContainer() -
toBinaryStream
TsonBinaryStream toBinaryStream() -
toCharStream
TsonCharStream toCharStream() -
toObject
TsonObject toObject() -
toUplet
TsonUplet toUplet() -
toPair
TsonPair toPair() -
toOp
TsonOp toOp() -
toBigInt
TsonBigInt toBigInt() -
toBigDecimal
TsonBigDecimal toBigDecimal() -
toBigComplex
TsonBigComplex toBigComplex() -
toFloatComplex
TsonFloatComplex toFloatComplex() -
toDoubleComplex
TsonDoubleComplex toDoubleComplex() -
stringValue
String stringValue() -
booleanValue
boolean booleanValue() -
charValue
char charValue() -
byteValue
byte byteValue() -
intValue
int intValue() -
longValue
long longValue() -
shortValue
short shortValue() -
floatValue
float floatValue() -
doubleValue
double doubleValue() -
bigIntegerValue
BigInteger bigIntegerValue() -
bigDecimalValue
BigDecimal bigDecimalValue() -
booleanObject
Boolean booleanObject() -
charObject
Character charObject() -
numberValue
Number numberValue() -
temporalValue
Temporal temporalValue() -
byteObject
Byte byteObject() -
intObject
Integer intObject() -
longObject
Long longObject() -
shortObject
Short shortObject() -
floatObject
Float floatObject() -
doubleObject
Double doubleObject() -
localDateTimeValue
LocalDateTime localDateTimeValue() -
localDateValue
LocalDate localDateValue() -
instantValue
Instant instantValue() -
localTimeValue
LocalTime localTimeValue() -
regexValue
Pattern regexValue() -
builder
TsonElementBuilder builder() -
visit
-
visit
-
build
- Specified by:
buildin interfaceTsonElementBase
-
isNull
boolean isNull() -
isListContainer
boolean isListContainer() -
isNumber
boolean isNumber() -
isOrdinalNumber
boolean isOrdinalNumber() -
isFloatingNumber
boolean isFloatingNumber() -
isComplexNumber
boolean isComplexNumber() -
isBoolean
boolean isBoolean() -
isName
boolean isName() -
isArray
boolean isArray() -
isNamedArray
boolean isNamedArray() -
isObject
boolean isObject() -
isNamedObject
boolean isNamedObject() -
isNamedUplet
boolean isNamedUplet() -
isUplet
boolean isUplet() -
isPair
boolean isPair() -
isSimple
boolean isSimple() -
isSimplePair
boolean isSimplePair() -
isString
boolean isString() -
isAnyString
boolean isAnyString() -
isPrimitive
boolean isPrimitive() -
isTemporal
boolean isTemporal()
-