public class RelationshipTree extends java.util.HashMap<java.lang.Long,RelationshipNodeData>
Constructor and Description |
---|
RelationshipTree() |
RelationshipTree(int initialCapacity) |
RelationshipTree(int initialCapacity,
float loadFactor) |
RelationshipTree(java.util.Map m) |
Modifier and Type | Method and Description |
---|---|
RelationshipNodeData |
getNewNodeData(long uniqueID) |
RelationshipNodeData |
getNodeData(long uniqueID) |
void |
put(RelationshipNodeData node) |
public RelationshipTree()
public RelationshipTree(int initialCapacity)
initialCapacity
- public RelationshipTree(int initialCapacity, float loadFactor)
initialCapacity
- loadFactor
- public RelationshipTree(java.util.Map m)
m
- public RelationshipNodeData getNodeData(long uniqueID) throws RelationTreeInvalidUniqueIDException
uniqueID
- RelationTreeInvalidUniqueIDException
public RelationshipNodeData getNewNodeData(long uniqueID) throws RelationTreeNonUniqueIDException
uniqueID
- RelationTreeNonUniqueIDException
public void put(RelationshipNodeData node)
node
-