Package de.bwaldvogel.mongo.bson
Class Decimal128
java.lang.Object
java.lang.Number
de.bwaldvogel.mongo.bson.Decimal128
- All Implemented Interfaces:
Serializable,Comparable<Decimal128>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Decimal128static final Decimal128static final Decimal128static final Decimal128static final Decimal128static final Decimal128static final Decimal128 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoublebooleanfloatstatic Decimal128fromNumber(Number value) longgetHigh()longgetLow()inthashCode()intintValue()longtoString()Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
ONE
-
TWO
-
NaN
-
POSITIVE_ZERO
-
NEGATIVE_ZERO
-
POSITIVE_INFINITY
-
NEGATIVE_INFINITY
-
-
Constructor Details
-
Decimal128
public Decimal128(long low, long high) -
Decimal128
-
-
Method Details
-
fromNumber
-
getLow
public long getLow() -
getHigh
public long getHigh() -
toBigDecimal
-
toString
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Decimal128>
-