Package ball.game.crossword
Class Cell
- java.lang.Object
-
- ball.game.crossword.Cell
-
- All Implemented Interfaces:
Cloneable
public class Cell extends Object implements Cloneable
- Author:
- Allen D. Ball
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cellclone()static CellgetInstance(char character)Factory method to produce aCell.static List<Cell>getRowFrom(String line)CharactergetSolution()booleanisBlock()booleanisSolved()booleanisSpecial()voidsetSolution(Character solution)StringtoString()
-
-
-
Method Detail
-
isBlock
public boolean isBlock()
-
isSpecial
public boolean isSpecial()
-
isSolved
public boolean isSolved()
-
getSolution
public Character getSolution()
-
setSolution
public void setSolution(Character solution)
-
clone
public Cell clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getInstance
public static Cell getInstance(char character)
Factory method to produce aCell.
-
getRowFrom
public static List<Cell> getRowFrom(String line)
-
-