Package de.caluga.morphium.driver.wire
Class AtomicDecimal
java.lang.Object
java.lang.Number
de.caluga.morphium.driver.wire.AtomicDecimal
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublefloatdoubleget()doubleintintValue()longsetDenominator(int den) setNumerator(int num) Methods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
AtomicDecimal
public AtomicDecimal(int numerator) -
AtomicDecimal
public AtomicDecimal(int numerator, int denominator)
-
-
Method Details
-
get
public double get() -
setDenominator
-
setNumerator
-
incrementAndGet
public double incrementAndGet() -
decrementAndGet
public double decrementAndGet() -
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-