abstract class ImmutableNode extends Node
Modifier | Constructor and Description |
---|---|
protected |
ImmutableNode(int level,
int population) |
protected |
ImmutableNode(Node tl,
Node tr,
Node bl,
Node br) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
(package private) Node |
getBL() |
(package private) Node |
getBR() |
(package private) Node |
getChild(int i) |
(package private) int |
getLevel() |
(package private) int |
getPopulation() |
(package private) Node |
getTL() |
(package private) Node |
getTR() |
int |
hashCode() |
draw, getCentreBottom, getCentreLeft, getCentreMiddle, getCentreRight, getCentreTop, growUp, setCell, timeStep
Node getChild(int i)
int getPopulation()
getPopulation
in class Node
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object