Class AbstractTsonElement
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.AbstractTsonElement
- All Implemented Interfaces:
Comparable<TsonElement>, TsonElement, TsonElementBase
- Direct Known Subclasses:
AbstractNonPrimitiveTsonElement, AbstractPrimitiveTsonElement, TsonCustomImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbytecharcomments()protected abstract intintdoublebooleanfloatinthashCode()intintValue()booleanisNull()longshortprotected abstract <T> Tprotected abstract <T> TtoAlias()toBigInt()toByte()toChar()toCustom()toDouble()toFloat()toInt()toLong()toMatrix()toName()toNumber()toObject()toOp()toPair()toRegex()toShort()toStr()toUplet()type()booleanvisit(TsonDocumentVisitor visitor) Methods inherited from class AbstractTsonElementBase
isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, toArray, toListContainer, toString, toString, toStringMethods inherited from interface TsonElement
build, builder, visit
-
Constructor Details
-
AbstractTsonElement
-
-
Method Details
-
type
-
comments
-
annotations
-
annotationsCount
public int annotationsCount() -
throwPrimitive
-
throwNonPrimitive
-
toStr
-
toLong
-
toInt
-
toFloat
-
toDouble
-
toShort
-
toByte
-
toChar
-
toCustom
-
toBoolean
-
toName
-
toAlias
-
toLocalDate
-
toInstant
-
toLocalDateTime
-
toLocalTime
-
toRegex
-
booleanObject
-
charObject
-
byteObject
-
numberValue
-
temporalValue
-
longObject
-
intObject
-
shortObject
-
floatObject
-
doubleObject
-
floatValue
public float floatValue() -
doubleValue
public double doubleValue() -
byteValue
public byte byteValue() -
charValue
public char charValue() -
booleanValue
public boolean booleanValue() -
intValue
public int intValue() -
longValue
public long longValue() -
shortValue
public short shortValue() -
localDateValue
-
instantValue
-
localDateTimeValue
-
localTimeValue
-
regexValue
-
stringValue
-
toNumber
-
toMatrix
-
toObject
- Specified by:
toObjectin interfaceTsonElement- Overrides:
toObjectin classAbstractTsonElementBase
-
toUplet
- Specified by:
toUpletin interfaceTsonElement- Overrides:
toUpletin classAbstractTsonElementBase
-
toPair
-
toOp
-
toBinaryStream
-
toCharStream
-
toBigInt
-
toBigDecimal
-
toBigComplex
-
toFloatComplex
-
toDoubleComplex
-
bigIntegerValue
-
bigDecimalValue
-
equals
-
hashCode
-
visit
-
compareTo
-
compareCore
-
isNull
public boolean isNull()
-