public class Border extends Object implements ConwayPattern
ConwayPattern,
CellGridImpl,
Serialized Form| Constructor and Description |
|---|
Border() |
| Modifier and Type | Method and Description |
|---|---|
boolean[][] |
getPattern()
This method should return a 2 dimensional array of boolean that represent
a conway grid, with
true values in the positions where
cells are alive |
String |
getPatternName() |
String |
toString() |
public boolean[][] getPattern()
true values in the positions where
cells are alivegetPattern in interface ConwayPatternpublic String getPatternName()
getPatternName in interface ConwayPatternCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.