|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.core.BasicTreeItem | +--gishur.core.StdTreeItem | +--gishur.core.SweepTreeItem
A TreeItem
for a binary tree. It implements SweepEvent
and is thus
able to store SweepEvents
in a tree.
Fields inherited from interface gishur.core.KeyValueHolder |
SET_KEY, SET_VALUE |
Fields inherited from interface gishur.core.TreeItem |
CLEAR_CONNECTIONS, CONNECT, CONNECT_PARENT, LAST_CHILD, LEFT, PARENT, REMOVE, RIGHT, SET_BALANCE, SET_MAX_RANK, SET_OWNER, UNKNOWN |
Fields inherited from interface gishur.core.ControlledCloneable |
DEEP, FLAT |
Constructor Summary | |
SweepTreeItem(int id,
java.lang.Object key,
java.lang.Object value)
Constructor intialzing key, value and ID of this SweepTreeItem . |
Method Summary | |
int |
getID()
Returns the ID of this SweepEvent . |
java.lang.String |
toString()
Overrides java.lang.Object.toString() . |
Methods inherited from class gishur.core.StdTreeItem |
key, setKey, setValue, value |
Methods inherited from class gishur.core.BasicTreeItem |
answerConnect, balance, child, clearConnections, clone, clone, connect, cut, equals, getOwningTree, isInner, isLeaf, isRoot, level, maxRank, nextChildPos, parent, pos, prevChildPos, rank, remove, requestTreeAccess, setBalance, setMaxRank, setOwningTree, sibling |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gishur.core.KeyValueHolder |
key, setKey, setValue, value |
Constructor Detail |
public SweepTreeItem(int id, java.lang.Object key, java.lang.Object value)
SweepTreeItem
.id
- the new item's IDkey
- new keyvalue
- the value to store in the itemMethod Detail |
public java.lang.String toString()
java.lang.Object.toString()
.toString
in class StdTreeItem
public int getID()
SweepEvent
.getID
in interface SweepEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |