Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
D
E
I
M
A
addMarble(String)
- Method in class
MarbleJar
This method simulates adding a new marble to the jar.
D
drawMarble()
- Method in class
MarbleJar
This method simulates drawing one marble.
E
equals(Object)
- Method in class
MarbleJar
This tests if a second jar has the same contents.
I
isEmpty()
- Method in class
MarbleJar
This tests if the jar is empty.
M
main(String[])
- Static method in class
MarbleJar
MarbleJar
- class
MarbleJar
.
This class simulates a marble jar and the actions of Adding and Drawing marbles from the jar.
MarbleJar(int, int)
- Constructor for class
MarbleJar
This constructs the marble jar initializing it with the number of colors specified by the parameters.
A
D
E
I
M
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES