|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.univ.paris5.GameOfLife.Shape
public class Shape
Shape contains data of one (predefined) shape.
Constructor Summary | |
---|---|
Shape(java.lang.String name,
java.util.Hashtable shape,
Algorithm algorithm)
Constructa a Shape. |
Method Summary | |
---|---|
Algorithm |
getAlgoritm()
Get the algoritm with this shap. |
java.util.Hashtable |
getCells()
Get shape data. |
java.lang.String |
getName()
Get name of shape. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Shape(java.lang.String name, java.util.Hashtable shape, Algorithm algorithm)
name
- name of shapeshape
- shape dataalgoritm
- algoritm for the shapeMethod Detail |
---|
public java.lang.String getName()
public java.util.Hashtable getCells()
public Algorithm getAlgoritm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |