public class NodePool
extends java.lang.Object
Constructor and Description |
---|
NodePool(int maxNodes,
int hashSize) |
Modifier and Type | Method and Description |
---|---|
void |
Clear() |
Node |
FindNode(long id,
long state) |
long |
FindNodes(long id,
Node[] nodes,
int maxNodes) |
int |
GetFirst(int bucket) |
int |
GetNext(int i) |
Node |
GetNode(long id) |
Node |
GetNode(long id,
long state) |
Node |
GetNodeAtIdx(long idx) |
long |
GetNodeIdx(Node node) |
public void Clear()
public Node GetNode(long id)
public Node GetNode(long id, long state)
public long FindNodes(long id, Node[] nodes, int maxNodes)
public Node FindNode(long id, long state)
public long GetNodeIdx(Node node)
public Node GetNodeAtIdx(long idx)
public int GetFirst(int bucket)
public int GetNext(int i)