public class TsonFloatImpl extends AbstractNumberTsonElement implements TsonFloat
| Constructor and Description |
|---|
TsonFloatImpl(float value,
String unit) |
| Modifier and Type | Method and Description |
|---|---|
TsonPrimitiveBuilder |
builder() |
Byte |
byteObject() |
byte |
byteValue() |
protected int |
compareCore(TsonElement o) |
int |
compareTo(TsonElement o) |
Double |
doubleObject() |
double |
doubleValue() |
boolean |
equals(Object o) |
Float |
floatObject() |
float |
floatValue() |
int |
hashCode() |
Integer |
intObject() |
int |
intValue() |
Long |
longObject() |
long |
longValue() |
Number |
numberValue() |
Short |
shortObject() |
short |
shortValue() |
TsonByte |
toByte() |
TsonDouble |
toDouble() |
TsonFloat |
toFloat() |
TsonInt |
toInt() |
TsonLong |
toLong() |
TsonShort |
toShort() |
float |
value() |
numberLayout, numberSuffix, toNumber, toStrthrowNonPrimitive, throwPrimitive, visitannotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, charObject, charValue, comments, instantValue, isNull, localDateTimeValue, localDateValue, localTimeValue, regexValue, stringValue, temporalValue, toAlias, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toChar, toCharStream, toCustom, toDoubleComplex, toFloatComplex, toLocalDate, toLocalDateTime, toLocalTime, toMatrix, toName, toObject, toOp, toPair, toRegex, toUplet, type, visitisAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, toArray, toListContainer, toString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitnumberLayout, numberSuffixannotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, build, charObject, charValue, comments, instantValue, isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNull, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, localDateTimeValue, localDateValue, localTimeValue, regexValue, stringValue, temporalValue, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toChar, toCharStream, toCustom, toDoubleComplex, toFloatComplex, toListContainer, toLocalDate, toLocalDateTime, toLocalTime, toMatrix, toName, toNumber, toObject, toOp, toPair, toRegex, toStr, toString, toUplet, visit, visittoString, toString, typepublic TsonFloatImpl(float value,
String unit)
public Number numberValue()
numberValue in interface TsonElementnumberValue in class AbstractTsonElementpublic TsonFloat toFloat()
toFloat in interface TsonElementtoFloat in class AbstractTsonElementpublic boolean equals(Object o)
equals in class AbstractTsonElementpublic int hashCode()
hashCode in class AbstractTsonElementpublic TsonPrimitiveBuilder builder()
builder in interface TsonElementbuilder in interface TsonFloatpublic TsonByte toByte()
toByte in interface TsonElementtoByte in class AbstractTsonElementpublic TsonShort toShort()
toShort in interface TsonElementtoShort in class AbstractTsonElementpublic TsonInt toInt()
toInt in interface TsonElementtoInt in class AbstractTsonElementpublic TsonLong toLong()
toLong in interface TsonElementtoLong 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 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 AbstractTsonElementprotected int compareCore(TsonElement o)
compareCore in class AbstractTsonElementpublic int compareTo(TsonElement o)
compareTo in interface Comparable<TsonElement>compareTo in class AbstractTsonElementCopyright © 2025 vpc open source initiative. All rights reserved.