Class AbstractNumberTsonElement
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.AbstractTsonElement
net.thevpc.tson.impl.elements.AbstractPrimitiveTsonElement
net.thevpc.tson.impl.elements.AbstractNumberTsonElement
- All Implemented Interfaces:
Comparable<TsonElement>, TsonElement, TsonElementBase, TsonNumber
- Direct Known Subclasses:
TsonBigComplexImpl, TsonBigDecimalImpl, TsonBigIntImpl, TsonByteImpl, TsonDoubleComplexImpl, TsonDoubleImpl, TsonFloatComplexImpl, TsonFloatImpl, TsonIntImpl, TsonLongImpl, TsonShortImpl
public abstract class AbstractNumberTsonElement
extends AbstractPrimitiveTsonElement
implements TsonNumber
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractNumberTsonElement(TsonElementType type, TsonNumberLayout layout, String unit) -
Method Summary
Methods inherited from class AbstractPrimitiveTsonElement
throwNonPrimitive, throwPrimitive, visitMethods inherited from class AbstractTsonElement
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareCore, compareTo, doubleObject, doubleValue, equals, floatObject, floatValue, hashCode, instantValue, intObject, intValue, isNull, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, regexValue, shortObject, shortValue, stringValue, temporalValue, toAlias, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toObject, toOp, toPair, toRegex, toShort, toUplet, type, visitMethods 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 Comparable
compareToMethods inherited from interface TsonElement
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, build, builder, byteObject, byteValue, charObject, charValue, comments, doubleObject, doubleValue, floatObject, floatValue, instantValue, intObject, intValue, isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNull, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, regexValue, shortObject, shortValue, stringValue, temporalValue, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toListContainer, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toObject, toOp, toPair, toRegex, toShort, toString, toUplet, visit, visitMethods inherited from interface TsonElementBase
toString, toString, type
-
Constructor Details
-
AbstractNumberTsonElement
-
-
Method Details
-
toStr
- Specified by:
toStrin interfaceTsonElement- Overrides:
toStrin classAbstractTsonElement
-
toNumber
- Specified by:
toNumberin interfaceTsonElement- Overrides:
toNumberin classAbstractTsonElement
-
numberLayout
- Specified by:
numberLayoutin interfaceTsonNumber
-
numberSuffix
- Specified by:
numberSuffixin interfaceTsonNumber
-