A C D E F G H I L M N O P R S T U V W 
All Classes All Packages

C

canMerge(State, State) - Static method in enum api.State
Returns true if both given states are movable and have opposite parity.
Cell - Class in api
Represents one cell of the Pearls game grid.
Cell(Cell) - Constructor for class api.Cell
Constructs a copy of the given Cell.
Cell(State) - Constructor for class api.Cell
Constructs a Cell with the given state.
CLOSED_GATE - api.State
 
collectPearls(State[], MoveRecord[], int, int) - Method in class hw3.PearlUtil
Replaces all PEARL states with EMPTY state between indices start and end, inclusive.
countPearls() - Method in class hw3.Pearls
Returns the number of pearls left in the grid.
createCellsFromString(String) - Static method in class api.StringUtil
Creates a cell array from a string description, using the character representations defined in this class.
createFromString(String) - Static method in class api.StringUtil
Creates a cell state array from a string description, using the character representations defined in this class.
createFromStringArray(String[]) - Static method in class api.StringUtil
Initializes a cell grid from an array of strings.
A C D E F G H I L M N O P R S T U V W 
All Classes All Packages