public final class Money extends ExactDecimal<Money>
ExactDecimal
implementation corresponding to the SQL data type MONEY or DECIMAL(19,4).ExactDecimal.Descriptor
Scalar.Factory<N extends Number>
ScalarOperation.Addition<T,N extends Number>, ScalarOperation.Division<T,N extends Number>, ScalarOperation.Multiplication<T,N extends Number>, ScalarOperation.Subtraction<T,N extends Number>
Modifier and Type | Field and Description |
---|---|
static ExactDecimal.Descriptor |
DESCRIPTOR |
static Scalar.Factory<Money> |
FACTORY |
static Money |
NEG |
static Money |
ONE |
static Money |
TWO |
static Money |
ZERO |
Constructor and Description |
---|
Money() |
Modifier and Type | Method and Description |
---|---|
protected ExactDecimal.Descriptor |
descriptor() |
static boolean |
isAbsolute(Money value) |
static boolean |
isInfinite(Money value) |
static boolean |
isNaN(Money value) |
static boolean |
isSmall(double comparedTo,
Money value) |
static Money |
valueOf(double value) |
static Money |
valueOf(Number number) |
protected Money |
wrap(long numerator) |
add, add, compareTo, conjugate, divide, divide, doubleValue, enforce, extractUnscaledValue, floatValue, get, intValue, invert, isAbsolute, isSmall, longValue, multiply, multiply, negate, norm, signum, subtract, subtract, toBigDecimal, toString, toString
byteValue, shortValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, divide, multiply, subtract, toPlainString
byteValue, shortValue
public static final ExactDecimal.Descriptor DESCRIPTOR
public static final Scalar.Factory<Money> FACTORY
public static final Money NEG
public static final Money ONE
public static final Money TWO
public static final Money ZERO
public static boolean isAbsolute(Money value)
public static boolean isInfinite(Money value)
public static boolean isNaN(Money value)
public static boolean isSmall(double comparedTo, Money value)
public static Money valueOf(double value)
protected ExactDecimal.Descriptor descriptor()
descriptor
in class ExactDecimal<Money>
protected Money wrap(long numerator)
wrap
in class ExactDecimal<Money>
Copyright © 2019 Optimatika. All rights reserved.