blue.chance
Class Coin
java.lang.Object
|
+--blue.chance.Coin
- public class Coin
- extends java.lang.Object
Field Summary |
static char |
HEAD
|
static char |
TAIL
|
Constructor Summary |
Coin()
|
Coin(java.lang.String n)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
HEAD
public static final char HEAD
TAIL
public static final char TAIL
Coin
public Coin()
Coin
public Coin(java.lang.String n)
flip
public void flip()
top
public char top()
topPrint
public void topPrint()
topPrint
public void topPrint(OutStream os)
topPrint
public void topPrint(java.io.PrintStream os)
print
public void print()
print
public void print(OutStream os)
print
public void print(java.io.PrintStream os)
topPrintln
public void topPrintln()
topPrintln
public void topPrintln(OutStream os)
topPrintln
public void topPrintln(java.io.PrintStream os)
reset
public void reset()
count
public int count()
headCount
public int headCount()
tailCount
public int tailCount()
println
public void println()
showHistory
public void showHistory()
showHistory
public void showHistory(OutStream os)
showHistory
public void showHistory(java.io.PrintStream os)
showHistoryHorizontally
public void showHistoryHorizontally()
showHistoryHorizontally
public void showHistoryHorizontally(OutStream os)
showHistoryHorizontally
public void showHistoryHorizontally(java.io.PrintStream os)
showHistoryVertically
public void showHistoryVertically()
showHistoryVertically
public void showHistoryVertically(OutStream os)
showHistoryVertically
public void showHistoryVertically(java.io.PrintStream os)
previous
public char previous()
previous
public char previous(int n)