public class TsonFloatComplexImpl extends AbstractNumberTsonElement implements TsonFloatComplex
| Constructor and Description |
|---|
TsonFloatComplexImpl(float real,
float imag,
String unit) |
| Modifier and Type | Method and Description |
|---|---|
TsonPrimitiveBuilder |
builder() |
Byte |
byteObject() |
byte |
byteValue() |
static int |
compare(TsonFloatComplex a,
TsonFloatComplex oc) |
protected int |
compareCore(TsonElement o) |
int |
compareTo(TsonElement o) |
Double |
doubleObject() |
double |
doubleValue() |
boolean |
equals(Object o) |
Float |
floatObject() |
float |
floatValue() |
BigDecimal |
getBigDecimal() |
BigInteger |
getBigInteger() |
float |
getImag() |
float |
getReal() |
int |
hashCode() |
Integer |
intObject() |
int |
intValue() |
Long |
longObject() |
long |
longValue() |
Number |
numberValue() |
Short |
shortObject() |
short |
shortValue() |
TsonBigDecimal |
toBigDecimal() |
TsonBigInt |
toBigInt() |
TsonByte |
toByte() |
TsonDouble |
toDouble() |
TsonDoubleComplex |
toDoubleComplex() |
TsonFloat |
toFloat() |
TsonFloatComplex |
toFloatComplex() |
TsonLong |
toLong() |
TsonShort |
toShort() |
layout, toNumber, unitthrowNonPrimitive, throwPrimitive, visitannotations, annotationsCount, booleanObject, booleanValue, charObject, charValue, comments, dateTimeValue, dateValue, isNull, regexValue, stringValue, time, toAlias, toArray, toBigComplex, toBinaryStream, toBinOp, toBoolean, toChar, toCharStream, toContainer, toDate, toDateTime, toFunction, toInt, toMatrix, toName, toObject, toPair, toRegex, toStr, toTime, toUplet, type, visitisContainer, isNumber, isPrimitive, isTemporal, toString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlayout, unitannotations, annotationsCount, booleanObject, booleanValue, build, charObject, charValue, comments, dateTimeValue, dateValue, isContainer, isNull, isNumber, isPrimitive, isTemporal, of, regexValue, stringValue, time, toAlias, toArray, toBigComplex, toBinaryStream, toBinOp, toBoolean, toChar, toCharStream, toContainer, toDate, toDateTime, toFunction, toInt, toMatrix, toName, toNumber, toObject, toPair, toRegex, toStr, toTime, toUplet, visit, visittoString, toString, toString, typepublic TsonFloatComplexImpl(float real,
float imag,
String unit)
public Number numberValue()
numberValue in interface TsonElementnumberValue in class AbstractTsonElementpublic TsonFloatComplex toFloatComplex()
toFloatComplex in interface TsonElementtoFloatComplex in class AbstractTsonElementpublic TsonDoubleComplex toDoubleComplex()
toDoubleComplex in interface TsonElementtoDoubleComplex in class AbstractTsonElementpublic TsonBigDecimal toBigDecimal()
toBigDecimal in interface TsonElementtoBigDecimal in class AbstractTsonElementpublic float getReal()
getReal in interface TsonFloatComplexpublic float getImag()
getImag in interface TsonFloatComplexpublic boolean equals(Object o)
equals in class AbstractTsonElementpublic TsonByte toByte()
toByte in interface TsonElementtoByte in class AbstractTsonElementpublic TsonShort toShort()
toShort in interface TsonElementtoShort in class AbstractTsonElementpublic TsonLong toLong()
toLong in interface TsonElementtoLong in class AbstractTsonElementpublic TsonFloat toFloat()
toFloat in interface TsonElementtoFloat in class AbstractTsonElementpublic TsonDouble toDouble()
toDouble in interface TsonElementtoDouble in class AbstractTsonElementpublic Byte byteObject()
byteObject in interface TsonElementbyteObject in class AbstractTsonElementpublic Long longObject()
longObject in interface TsonElementlongObject in class AbstractTsonElementpublic Integer intObject()
intObject in interface TsonElementintObject in class AbstractTsonElementpublic Short shortObject()
shortObject in interface TsonElementshortObject in class AbstractTsonElementpublic Float floatObject()
floatObject in interface TsonElementfloatObject in class AbstractTsonElementpublic Double doubleObject()
doubleObject in interface TsonElementdoubleObject in class AbstractTsonElementpublic BigDecimal getBigDecimal()
getBigDecimal in interface TsonElementgetBigDecimal in class AbstractTsonElementpublic BigInteger getBigInteger()
getBigInteger in interface TsonElementgetBigInteger in class AbstractTsonElementpublic TsonBigInt toBigInt()
toBigInt in interface TsonElementtoBigInt in class AbstractTsonElementpublic byte byteValue()
byteValue in interface TsonElementbyteValue in class AbstractTsonElementpublic short shortValue()
shortValue in interface TsonElementshortValue in class AbstractTsonElementpublic int intValue()
intValue in interface TsonElementintValue in class AbstractTsonElementpublic long longValue()
longValue in interface TsonElementlongValue in class AbstractTsonElementpublic float floatValue()
floatValue in interface TsonElementfloatValue in class AbstractTsonElementpublic double doubleValue()
doubleValue in interface TsonElementdoubleValue in class AbstractTsonElementpublic int hashCode()
hashCode in class AbstractTsonElementpublic TsonPrimitiveBuilder builder()
builder in interface TsonElementbuilder in interface TsonFloatComplexprotected int compareCore(TsonElement o)
compareCore in class AbstractTsonElementpublic static int compare(TsonFloatComplex a, TsonFloatComplex oc)
public int compareTo(TsonElement o)
compareTo in interface Comparable<TsonElement>compareTo in class AbstractTsonElementCopyright © 2024 vpc open source initiative. All rights reserved.