Class TsonElementDecorator.AsDouble
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.TsonElementDecorator
net.thevpc.tson.impl.elements.TsonElementDecorator.AsPrimitive<TsonDouble>
net.thevpc.tson.impl.elements.TsonElementDecorator.AsDouble
- All Implemented Interfaces:
Comparable<TsonElement>, TsonDouble, TsonElement, TsonElementBase, TsonNumber
- Enclosing class:
TsonElementDecorator
public static class TsonElementDecorator.AsDouble
extends TsonElementDecorator.AsPrimitive<TsonDouble>
implements TsonDouble
-
Nested Class Summary
Nested classes/interfaces inherited from class TsonElementDecorator
TsonElementDecorator.AsAlias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, TsonElementDecorator.AsCustom, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsInstant, TsonElementDecorator.AsInt, TsonElementDecorator.AsLocalDate, TsonElementDecorator.AsLocalDateTime, TsonElementDecorator.AsLocalTime, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsOp, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsUplet -
Constructor Summary
ConstructorsConstructorDescriptionAsDouble(TsonDouble base, TsonComments comments, TsonAnnotation[] annotations) -
Method Summary
Methods inherited from class TsonElementDecorator.AsPrimitive
builder, getBase, visitMethods inherited from class TsonElementDecorator
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, doubleObject, doubleValue, equals, floatObject, floatValue, hashCode, instantValue, intObject, intValue, isNull, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, stringValue, temporalValue, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toListContainer, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toString, toString, 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, isUpletMethods inherited from interface Comparable
compareToMethods inherited from interface TsonDouble
builderMethods inherited from interface TsonElement
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, build, 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, toDoubleComplex, toFloat, toFloatComplex, toInstant, toInt, toListContainer, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toObject, toOp, toPair, toRegex, toShort, toStr, toString, toUplet, visit, visitMethods inherited from interface TsonElementBase
toString, toString, type
-
Constructor Details
-
AsDouble
-
-
Method Details
-
toDouble
- Specified by:
toDoublein interfaceTsonElement- Overrides:
toDoublein classTsonElementDecorator
-
numberLayout
- Specified by:
numberLayoutin interfaceTsonNumber
-
value
public double value()- Specified by:
valuein interfaceTsonDouble
-
numberSuffix
- Specified by:
numberSuffixin interfaceTsonNumber
-