|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.csapi.jr.se.cs.Volume
Defines a volume.
| Constructor Summary | |
Volume()
Creates a new Volume instance. |
|
Volume(Amount _amount,
int _unit)
Creates a new Volume instance. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
Amount |
getAmount()
This method returns a amount. |
int |
getUnit()
This method returns a unit. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setAmount(Amount amount)
This method sets a amount. |
void |
setUnit(int unit)
This method sets a unit. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Volume()
public Volume(Amount _amount,
int _unit)
_amount - _unit - | Method Detail |
public Amount getAmount()
public int getUnit()
public void setAmount(Amount amount)
public void setUnit(int unit)
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||