public class StudentGridPrintout
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
ORIGINAL_STRING |
Constructor and Description |
---|
StudentGridPrintout(java.lang.String str) |
Modifier and Type | Method and Description |
---|---|
boolean |
didIncludeBottomLegend()
Returns true iff we detected the presence of a bottom legend
|
boolean |
didIncludeSideHint()
Returns true iff we found a side hint
|
boolean |
didIncludeSideLegend()
Returns true iff we detected the presence of a side legend
|
boolean |
didIncludeTopHint()
Returns true iff we found a top hint
|
java.lang.String |
getBottomLegend()
Returns the string we detected as the bottom legend
|
char[][] |
getGrid() |
java.lang.String |
getPrintableGrid() |
java.lang.String[] |
getSideHint() |
java.lang.String[] |
getSideLegend()
If the side legend is present, this will
return that legend as an array of Strings - one for each row
|
java.lang.String[] |
getTopHint()
Returns the array of numbers which comprise the top hint
|
public boolean didIncludeBottomLegend()
public boolean didIncludeSideLegend()
public boolean didIncludeTopHint()
public boolean didIncludeSideHint()
public java.lang.String[] getTopHint()
public java.lang.String getBottomLegend()
public java.lang.String[] getSideLegend()
public java.lang.String[] getSideHint()
public java.lang.String getPrintableGrid()
public char[][] getGrid()