Class AbstractNonPrimitiveTsonElement
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.AbstractTsonElement
net.thevpc.tson.impl.elements.AbstractNonPrimitiveTsonElement
- All Implemented Interfaces:
Comparable<TsonElement>, TsonElement, TsonElementBase
- Direct Known Subclasses:
TsonArrayImpl, TsonMatrixImpl, TsonObjectImpl, TsonOpImpl, TsonPairImpl, TsonUpletImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbytechardoublefloatintintValue()longshortprotected <T> Tprotected <T> TtoAlias()toArray()toByte()toChar()toCustom()toDouble()toFloat()toInt()toLong()toMatrix()toName()toObject()toOp()toPair()toRegex()toShort()toStr()toString()toString(boolean compact) toString(TsonFormat format) toUplet()booleanvisit(TsonDocumentVisitor visitor) Methods inherited from class AbstractTsonElement
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, comments, compareCore, compareTo, equals, hashCode, isNull, numberValue, temporalValue, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toCharStream, toDoubleComplex, toFloatComplex, toInstant, toNumber, typeMethods inherited from class AbstractTsonElementBase
isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, toListContainerMethods inherited from interface TsonElement
build, builder, visit
-
Constructor Details
-
AbstractNonPrimitiveTsonElement
-
-
Method Details
-
throwPrimitive
- Specified by:
throwPrimitivein classAbstractTsonElement
-
throwNonPrimitive
- Specified by:
throwNonPrimitivein classAbstractTsonElement
-
toStr
- Specified by:
toStrin interfaceTsonElement- Overrides:
toStrin classAbstractTsonElement
-
toLong
- Specified by:
toLongin interfaceTsonElement- Overrides:
toLongin classAbstractTsonElement
-
toInt
- Specified by:
toIntin interfaceTsonElement- Overrides:
toIntin classAbstractTsonElement
-
toFloat
- Specified by:
toFloatin interfaceTsonElement- Overrides:
toFloatin classAbstractTsonElement
-
toDouble
- Specified by:
toDoublein interfaceTsonElement- Overrides:
toDoublein classAbstractTsonElement
-
toShort
- Specified by:
toShortin interfaceTsonElement- Overrides:
toShortin classAbstractTsonElement
-
toByte
- Specified by:
toBytein interfaceTsonElement- Overrides:
toBytein classAbstractTsonElement
-
toChar
- Specified by:
toCharin interfaceTsonElement- Overrides:
toCharin classAbstractTsonElement
-
toBoolean
- Specified by:
toBooleanin interfaceTsonElement- Overrides:
toBooleanin classAbstractTsonElement
-
toCustom
- Specified by:
toCustomin interfaceTsonElement- Overrides:
toCustomin classAbstractTsonElement
-
toName
- Specified by:
toNamein interfaceTsonElement- Overrides:
toNamein classAbstractTsonElement
-
toAlias
- Specified by:
toAliasin interfaceTsonElement- Overrides:
toAliasin classAbstractTsonElement
-
toLocalDate
- Specified by:
toLocalDatein interfaceTsonElement- Overrides:
toLocalDatein classAbstractTsonElement
-
toLocalDateTime
- Specified by:
toLocalDateTimein interfaceTsonElement- Overrides:
toLocalDateTimein classAbstractTsonElement
-
toLocalTime
- Specified by:
toLocalTimein interfaceTsonElement- Overrides:
toLocalTimein classAbstractTsonElement
-
toRegex
- Specified by:
toRegexin interfaceTsonElement- Overrides:
toRegexin classAbstractTsonElement
-
booleanObject
- Specified by:
booleanObjectin interfaceTsonElement- Overrides:
booleanObjectin classAbstractTsonElement
-
charObject
- Specified by:
charObjectin interfaceTsonElement- Overrides:
charObjectin classAbstractTsonElement
-
byteObject
- Specified by:
byteObjectin interfaceTsonElement- Overrides:
byteObjectin classAbstractTsonElement
-
longObject
- Specified by:
longObjectin interfaceTsonElement- Overrides:
longObjectin classAbstractTsonElement
-
intObject
- Specified by:
intObjectin interfaceTsonElement- Overrides:
intObjectin classAbstractTsonElement
-
shortObject
- Specified by:
shortObjectin interfaceTsonElement- Overrides:
shortObjectin classAbstractTsonElement
-
floatObject
- Specified by:
floatObjectin interfaceTsonElement- Overrides:
floatObjectin classAbstractTsonElement
-
doubleObject
- Specified by:
doubleObjectin interfaceTsonElement- Overrides:
doubleObjectin classAbstractTsonElement
-
floatValue
public float floatValue()- Specified by:
floatValuein interfaceTsonElement- Overrides:
floatValuein classAbstractTsonElement
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceTsonElement- Overrides:
doubleValuein classAbstractTsonElement
-
byteValue
public byte byteValue()- Specified by:
byteValuein interfaceTsonElement- Overrides:
byteValuein classAbstractTsonElement
-
charValue
public char charValue()- Specified by:
charValuein interfaceTsonElement- Overrides:
charValuein classAbstractTsonElement
-
booleanValue
public boolean booleanValue()- Specified by:
booleanValuein interfaceTsonElement- Overrides:
booleanValuein classAbstractTsonElement
-
intValue
public int intValue()- Specified by:
intValuein interfaceTsonElement- Overrides:
intValuein classAbstractTsonElement
-
longValue
public long longValue()- Specified by:
longValuein interfaceTsonElement- Overrides:
longValuein classAbstractTsonElement
-
shortValue
public short shortValue()- Specified by:
shortValuein interfaceTsonElement- Overrides:
shortValuein classAbstractTsonElement
-
localDateValue
- Specified by:
localDateValuein interfaceTsonElement- Overrides:
localDateValuein classAbstractTsonElement
-
instantValue
- Specified by:
instantValuein interfaceTsonElement- Overrides:
instantValuein classAbstractTsonElement
-
localDateTimeValue
- Specified by:
localDateTimeValuein interfaceTsonElement- Overrides:
localDateTimeValuein classAbstractTsonElement
-
localTimeValue
- Specified by:
localTimeValuein interfaceTsonElement- Overrides:
localTimeValuein classAbstractTsonElement
-
regexValue
- Specified by:
regexValuein interfaceTsonElement- Overrides:
regexValuein classAbstractTsonElement
-
stringValue
- Specified by:
stringValuein interfaceTsonElement- Overrides:
stringValuein classAbstractTsonElement
-
toArray
- Specified by:
toArrayin interfaceTsonElement- Overrides:
toArrayin classAbstractTsonElementBase
-
toMatrix
- Specified by:
toMatrixin interfaceTsonElement- Overrides:
toMatrixin classAbstractTsonElement
-
toObject
- Specified by:
toObjectin interfaceTsonElement- Overrides:
toObjectin classAbstractTsonElement
-
toUplet
- Specified by:
toUpletin interfaceTsonElement- Overrides:
toUpletin classAbstractTsonElement
-
toPair
- Specified by:
toPairin interfaceTsonElement- Overrides:
toPairin classAbstractTsonElement
-
toOp
- Specified by:
toOpin interfaceTsonElement- Overrides:
toOpin classAbstractTsonElement
-
visit
- Specified by:
visitin interfaceTsonElement- Overrides:
visitin classAbstractTsonElement
-
toString
- Specified by:
toStringin interfaceTsonElementBase- Overrides:
toStringin classAbstractTsonElementBase
-
toString
- Specified by:
toStringin interfaceTsonElement- Specified by:
toStringin interfaceTsonElementBase- Overrides:
toStringin classAbstractTsonElementBase
-
toString
- Specified by:
toStringin interfaceTsonElementBase- Overrides:
toStringin classAbstractTsonElementBase
-