Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
I
M
P
R
W
C
close()
- Method in class
DigitalLock
Close this lock.
Cracker
- class
Cracker
.
This class is used in conjunction with a lock class to see if it can open the lock without knowing the original combination.
Cracker()
- Constructor for class
Cracker
D
DigitalLock
- class
DigitalLock
.
A lock with a three digit combination.
DigitalLock(int)
- Constructor for class
DigitalLock
Create a lock with the given three digit combination.
E
enter(int)
- Method in class
DigitalLock
Enter a digit of the combination.
I
isOpen()
- Method in class
DigitalLock
Get the state of the lock.
M
main(String[])
- Static method in class
WhiteHat
Create various locks and try to pick them.
P
pick(DigitalLock)
- Method in class
Cracker
Attempt to pick the given lock by guessing the combination.
R
resetCombination(int, int)
- Method in class
DigitalLock
Reset the combination of this lock.
W
WhiteHat
- class
WhiteHat
.
This class uses a Cracker to open a DigitalLock.
WhiteHat()
- Constructor for class
WhiteHat
C
D
E
I
M
P
R
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes