|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Amount | |
|---|---|
| net.lessy.util | |
| net.lessy.util.type | |
| Uses of Amount in net.lessy.util |
|---|
| Methods in net.lessy.util with parameters of type Amount | |
|---|---|
static Number |
NumberUtil.convertToNumber(Amount amount)
Converts an Amount to its associated Number (usually a BigDecimal) |
static Number |
NumberUtil.convertToNumber(Amount amount,
Number defaultValue)
Converts an Amount to its associated Number (usually a BigDecimal) |
| Uses of Amount in net.lessy.util.type |
|---|
| Classes in net.lessy.util.type with type parameters of type Amount | |
|---|---|
class |
Amount<T extends Amount<T>>
General class to represent a number. |
| Subclasses of Amount in net.lessy.util.type | |
|---|---|
class |
Money
Wrappes an amount to represent a money amount |
class |
Money4
Wrappes an amount to represent a money amount with 4 decimal digits |
class |
Percentage
Represents a Precentage |
class |
Quantity
Represents a Quantity amount |
| Methods in net.lessy.util.type with parameters of type Amount | |
|---|---|
T |
Amount.add(Amount<T> amount)
Add an amount to this Amount |
T |
Amount.divideBy(Amount<T> amount)
|
T |
Amount.multiplyWith(Amount<T> amount)
|
T |
Amount.subtract(Amount<T> amount)
Subtract an amount from this Amount |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||