|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cscie160.hw4.Cmd
Field Summary | |
java.util.ArrayList |
pArgs
|
ATM |
pAtm
|
Constructor Summary | |
Cmd(ATM mAtm,
java.util.ArrayList mArgs)
| Constructor for abstract command class. |
Method Summary | |
abstract java.lang.String |
doIt()
| Empty method declaration. |
protected static float |
stringToFloat(java.lang.String stringObject)
| Converts a String to a float. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public ATM pAtm
public java.util.ArrayList pArgs
Constructor Detail |
public Cmd(ATM mAtm, java.util.ArrayList mArgs)
ATM
- The target ATM to send this command toArrayList
- Args list of values.Method Detail |
public abstract java.lang.String doIt() throws ATMException
protected static float stringToFloat(java.lang.String stringObject)
String
- The string to convert.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |