Class TsonElementDecorator.AsDoubleComplex
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.TsonElementDecorator
net.thevpc.tson.impl.elements.TsonElementDecorator.AsPrimitive<TsonDoubleComplex>
net.thevpc.tson.impl.elements.TsonElementDecorator.AsDoubleComplex
- All Implemented Interfaces:
Comparable<TsonElement>, TsonDoubleComplex, TsonElement, TsonElementBase, TsonNumber
- Enclosing class:
TsonElementDecorator
public static class TsonElementDecorator.AsDoubleComplex
extends TsonElementDecorator.AsPrimitive<TsonDoubleComplex>
implements TsonDoubleComplex
-
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
ConstructorsConstructorDescriptionAsDoubleComplex(TsonDoubleComplex 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, toDouble, 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 TsonDoubleComplex
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, toDouble, 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
-
AsDoubleComplex
-
-
Method Details
-
toDoubleComplex
- Specified by:
toDoubleComplexin interfaceTsonElement- Overrides:
toDoubleComplexin classTsonElementDecorator
-
numberLayout
- Specified by:
numberLayoutin interfaceTsonNumber
-
real
public double real()- Specified by:
realin interfaceTsonDoubleComplex
-
imag
public double imag()- Specified by:
imagin interfaceTsonDoubleComplex
-
numberSuffix
- Specified by:
numberSuffixin interfaceTsonNumber
-