|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for a combination lock.
| Method Summary | |
boolean |
changeCombo(Combination oldCom,
Combination newCom)
|
boolean |
close()
Close the lock. |
boolean |
open(Combination combo)
If the combination is correct, open the lock. |
| Method Detail |
public boolean open(Combination combo)
combo - the attempted combination
public boolean close()
public boolean changeCombo(Combination oldCom,
Combination newCom)
oldCom - the current combinationnewCom - the combination to change to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||