com.cedarsoft.sample
Class Money

java.lang.Object
  extended by com.cedarsoft.sample.Money

public class Money
extends java.lang.Object

Represents a money object


Constructor Summary
Money(double amount)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 double getAmount()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Money

public Money(double amount)
Method Detail

getAmount

public double getAmount()

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.