|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectDice
public class Dice
| Field Summary | |
|---|---|
private int |
myOne
|
private int |
myTwo
|
| Constructor Summary | |
|---|---|
Dice()
|
|
| Method Summary | |
|---|---|
boolean |
doubles()
|
private int |
random()
|
void |
roll()
|
java.lang.String |
toString()
|
int |
total()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int myOne
private int myTwo
| Constructor Detail |
|---|
public Dice()
| Method Detail |
|---|
public void roll()
public int total()
public boolean doubles()
public java.lang.String toString()
toString in class java.lang.Objectprivate int random()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||