|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.examples.conway.patterns.Hi
public class Hi
The Hi pattern
ConwayPattern
,
CellGrid
,
Serialized Form
Constructor Summary | |
---|---|
Hi()
|
Method Summary | |
---|---|
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 |
java.lang.String |
getPatternName()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Hi()
Method Detail |
---|
public boolean[][] getPattern()
true
values in the positions where
cells are alive
getPattern
in interface ConwayPattern
public java.lang.String getPatternName()
getPatternName
in interface ConwayPattern
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |