public class Money extends Object
Constructor and Description |
---|
Money() |
Money(long integerPart,
int decimalPart)
Deprecated.
as of 4.4.6, use
Money(Number) instead |
Money(Number value) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
bigDecimalValue() |
double |
doubleValue() |
boolean |
equals(Object o) |
int |
getDecimalPart()
Deprecated.
as of 4.4.6, use
bigDecimalValue() instead |
long |
getIntegerPart()
Deprecated.
as of 4.4.6, use
bigDecimalValue() instead |
int |
hashCode() |
Money |
setDecimalPart(int part)
Deprecated.
as of 4.4.6, create another instance instead
|
Money |
setIntegerPart(long part)
Deprecated.
as of 4.4.6, create another instance instead
|
String |
toString() |
@Deprecated public Money(long integerPart, int decimalPart)
Money(Number)
insteadpublic Money(Number value)
public Money()
@Deprecated public long getIntegerPart()
bigDecimalValue()
instead@Deprecated public int getDecimalPart()
bigDecimalValue()
instead@Deprecated public Money setIntegerPart(long part)
@Deprecated public Money setDecimalPart(int part)
public BigDecimal bigDecimalValue()
public double doubleValue()
Copyright © 2024 Eclipse. All rights reserved.