All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javaParse.ClosureChecker

java.lang.Object
   |
   +----javaParse.ClosureChecker

public class ClosureChecker
extends Object
class Checker


Constructor Index

 o ClosureChecker()

Method Index

 o addClosureSet(Vector)
add a closure set to the set that will be checked
 o check(String[])
 o getCorrectClosureSet()

Constructors

 o ClosureChecker
 public ClosureChecker()

Methods

 o addClosureSet
 public void addClosureSet(Vector c)
add a closure set to the set that will be checked

 o check
 public boolean check(String guess[])
Parameters:
guess - the array of guess for a closure
Returns:
true if all chars (even spaces) in guess are in answer stored at [row][col] && all chars in [row][col] are in guess ie "aa a bb b" == "a b aa bb" but != "ab aa bb" since a space is missing
 o getCorrectClosureSet
 public Vector getCorrectClosureSet()

All Packages  Class Hierarchy  This Package  Previous  Next  Index