org.metasyntactic.games.mastermind
Class MasterMind

java.lang.Object
  |
  +--org.metasyntactic.games.mastermind.MasterMind
All Implemented Interfaces:
java.util.Iterator

public class MasterMind
extends java.lang.Object
implements java.util.Iterator


Constructor Summary
MasterMind()
          Creates new MasterMind
MasterMind(java.util.Set values, int places)
           
 
Method Summary
 void evaluate(int correctPlaces, int incorrectPlaces)
           
 boolean hasNext()
           
static void main(java.lang.String[] args)
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterMind

public MasterMind()
Creates new MasterMind


MasterMind

public MasterMind(java.util.Set values,
                  int places)
Method Detail

evaluate

public void evaluate(int correctPlaces,
                     int incorrectPlaces)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

main

public static void main(java.lang.String[] args)