Package de.caluga.morphium.driver.wire
Class AtomicDecimal
- java.lang.Object
-
- java.lang.Number
-
- de.caluga.morphium.driver.wire.AtomicDecimal
-
- All Implemented Interfaces:
Serializable
public final class AtomicDecimal extends Number
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AtomicDecimal(int numerator)AtomicDecimal(int numerator, int denominator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledecrementAndGet()doubledoubleValue()floatfloatValue()doubleget()doubleincrementAndGet()intintValue()longlongValue()AtomicDecimalsetDenominator(int den)AtomicDecimalsetNumerator(int num)-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
get
public double get()
-
setDenominator
public AtomicDecimal setDenominator(int den)
-
setNumerator
public AtomicDecimal setNumerator(int num)
-
incrementAndGet
public double incrementAndGet()
-
decrementAndGet
public double decrementAndGet()
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
-