Class TsonElementDecorator.AsFloatComplex
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.TsonElementDecorator
net.thevpc.tson.impl.elements.TsonElementDecorator.AsPrimitive<TsonFloatComplex>
net.thevpc.tson.impl.elements.TsonElementDecorator.AsFloatComplex
- All Implemented Interfaces:
Comparable<TsonElement>, TsonElement, TsonElementBase, TsonFloatComplex, TsonNumber
- Enclosing class:
TsonElementDecorator
public static class TsonElementDecorator.AsFloatComplex
extends TsonElementDecorator.AsPrimitive<TsonFloatComplex>
implements TsonFloatComplex
-
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
ConstructorsConstructorDescriptionAsFloatComplex(TsonFloatComplex 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, toDoubleComplex, toFloat, 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 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, toDoubleComplex, toFloat, 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, typeMethods inherited from interface TsonFloatComplex
builder
-
Constructor Details
-
AsFloatComplex
-
-
Method Details
-
toFloatComplex
- Specified by:
toFloatComplexin interfaceTsonElement- Overrides:
toFloatComplexin classTsonElementDecorator
-
numberLayout
- Specified by:
numberLayoutin interfaceTsonNumber
-
real
public float real()- Specified by:
realin interfaceTsonFloatComplex
-
imag
public float imag()- Specified by:
imagin interfaceTsonFloatComplex
-
numberSuffix
- Specified by:
numberSuffixin interfaceTsonNumber
-