Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
G
H
I
M
N
P
R
S
T
V
Z
A
abs()
- Method in class
Money
Returns the absolute monetary value.
add(Money)
- Method in class
Money
Adds a specified monetary value to this monetary value.
C
clone()
- Method in class
Money
Clones a Money object.
currencyFormat
- Variable in class
Money
The Currency Format, used for formatting and parsing a monetary value.
D
divide(double)
- Method in class
Money
Divides this monetary value by a specified value.
divide(long)
- Method in class
Money
Divides this monetary value by a specified value.
E
equals(Object)
- Method in class
Money
Compares this object with the specified object.
G
getCurrencyFormat()
- Method in class
Money
Returns the Currency Format, used to format and parse monetary values.
getRoundingMode()
- Method in class
Money
Returns the Rounding Mode.
getValue()
- Method in class
Money
Returns the monetary value as a BigDecimal object.
H
hashCode()
- Method in class
Money
Returns a hashcode for this object.
I
isEqual(Money)
- Method in class
Money
Returns an indication of whether or not this monetary value is equal to another monetary value.
isGreaterThan(Money)
- Method in class
Money
Returns an indication of whether or not this monetary value is greater than another monetary value.
isGreaterThanOrEqual(Money)
- Method in class
Money
Returns an indication of whether or not this monetary value is greater than or equal to another monetary value.
isLessThan(Money)
- Method in class
Money
Returns an indication of whether or not this monetary value is less than another monetary value.
isLessThanOrEqual(Money)
- Method in class
Money
Returns an indication of whether or not this monetary value is less than or equal to another monetary value.
isNegative()
- Method in class
Money
Returns an indication of whether or not this monetary value is negative (less than $0.00).
isPositive()
- Method in class
Money
Returns an indication of whether or not this monetary value is positive (greater than or equal to $0.00).
isZero()
- Method in class
Money
Returns an indication of whether or not this monetary value is zero (equal to $0.00).
M
Money
- class
Money
.
Class Money
Money.InvalidRoundingModeException
- exception
Money.InvalidRoundingModeException
.
Class InvalidRoundingModeException
Money.InvalidRoundingModeException()
- Constructor for class
Money.InvalidRoundingModeException
Default constructor for a InvalidRoundingModeException object.
Money.InvalidRoundingModeException(String)
- Constructor for class
Money.InvalidRoundingModeException
Constructor for a InvalidRoundingModeException object.
Money.InvalidScaleFactorException
- exception
Money.InvalidScaleFactorException
.
Class InvalidScaleFactorException
Money.InvalidScaleFactorException()
- Constructor for class
Money.InvalidScaleFactorException
Default constructor for a InvalidScaleFactorException object.
Money.InvalidScaleFactorException(String)
- Constructor for class
Money.InvalidScaleFactorException
Constructor for a InvalidScaleFactorException object.
Money()
- Constructor for class
Money
Default Constructor for a Money object; creates an object whose value is $0.00.
Money(BigDecimal)
- Constructor for class
Money
Constructs a Money object from a BigDecimal object.
Money(double)
- Constructor for class
Money
Constructs a Money object from a double-precision, floating-point value.
Money(long)
- Constructor for class
Money
Constructs a Money object from a long integer value.
Money(long, int)
- Constructor for class
Money
Constructs a Money object from a long integer value with a specified scale factor.
Money(Money)
- Constructor for class
Money
Copy Constructor; constructs a Money object from another Money object.
Money(String)
- Constructor for class
Money
Constructs a Money object from a string representation of a monetary value.
multiply(double)
- Method in class
Money
Multiplies this monetary value by a specified value.
multiply(long)
- Method in class
Money
Multiplies this monetary value by a specified value.
N
negate()
- Method in class
Money
Negates this monetary value.
P
parse(String)
- Method in class
Money
Parses a string representation of a monetary value, returning a new Money object with the specified value.
R
roundingMode
- Variable in class
Money
The Rounding Mode.
S
setCurrencyFormat(DecimalFormat)
- Method in class
Money
Sets the Currency Format, used for formatting and parsing monetary values.
setRoundingMode(int)
- Method in class
Money
Sets the Rounding Mode.
subtract(Money)
- Method in class
Money
Subtracts a specified monetary value from this monetary value.
T
toDouble()
- Method in class
Money
Returns the monetary value as a double-precision, floating-point value.
toLong()
- Method in class
Money
Returns the monetary value as a long integer with 2 decimal digits to the right of an implicit decimal point.
toString()
- Method in class
Money
Returns a formatted string representation of the monetary value.
V
value
- Variable in class
Money
The monetary value.
Z
ZERO
- Static variable in class
Money
The special monetary value of zero ($0.00).
A
C
D
E
G
H
I
M
N
P
R
S
T
V
Z
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES