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)
           
 
Method Summary
 int count()
           
 void flip()
           
 int headCount()
           
 char previous()
           
 char previous(int n)
           
 void print()
           
 void print(OutStream os)
           
 void print(java.io.PrintStream os)
           
 void println()
           
 void reset()
           
 void showHistory()
           
 void showHistory(OutStream os)
           
 void showHistory(java.io.PrintStream os)
           
 void showHistoryHorizontally()
           
 void showHistoryHorizontally(OutStream os)
           
 void showHistoryHorizontally(java.io.PrintStream os)
           
 void showHistoryVertically()
           
 void showHistoryVertically(OutStream os)
           
 void showHistoryVertically(java.io.PrintStream os)
           
 int tailCount()
           
 char top()
           
 void topPrint()
           
 void topPrint(OutStream os)
           
 void topPrint(java.io.PrintStream os)
           
 void topPrintln()
           
 void topPrintln(OutStream os)
           
 void topPrintln(java.io.PrintStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEAD

public static final char HEAD

TAIL

public static final char TAIL
Constructor Detail

Coin

public Coin()

Coin

public Coin(java.lang.String n)
Method Detail

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)