com.cedarsoft.sample.fixed
Class Money
java.lang.Object
com.cedarsoft.sample.fixed.Money
public class Money
- extends java.lang.Object
Represents a money object
|
Constructor Summary |
Money(double amount)
Deprecated. |
Money(long cents)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Money
public Money(long cents)
Money
@Deprecated
public Money(double amount)
- Deprecated.
getAmount
@Deprecated
public double getAmount()
- Deprecated.
getCents
public long getCents()
convertValueToCents
public static long convertValueToCents(double amount)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2010 cedarsoft GmbH. All Rights Reserved.