|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.collection.settable.TableEntry
| Field Summary | |
protected TableEntry |
myNext
|
protected Heaper |
myValue
|
| Constructor Summary | |
TableEntry(Heaper value)
|
|
TableEntry(Rcvr receiver)
|
|
TableEntry(TableEntry next,
Heaper value)
|
|
| Method Summary | |
int |
actualHashForEqual()
Defined by subclasses to produce the value returned by hashForEqual. |
static TableStepper |
bucketStepper(SharedPtrArray array)
|
abstract TableEntry |
copy()
|
void |
destroy()
temporarily don't destroy. |
TableEntry |
fetchNext()
|
IntegerValue |
index()
|
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
static TableEntry |
make(IntegerValue index,
Heaper value)
|
static TableEntry |
make(Position key,
Heaper value)
|
abstract boolean |
match(Position key)
Return true if my key matches key. |
boolean |
matchInt(IntegerValue index)
Return true if my key matches the position associated with index. |
boolean |
matchValue(Heaper value)
Return true if my value matches value. |
abstract Position |
position()
|
void |
printOn(java.io.PrintWriter oo)
This should rarely be overridden. |
boolean |
replaceValue(Heaper newValue)
Return true if my value can be replaced in place, and false if the entire entry must be replaced. |
void |
sendSelfTo(Xmtr xmtr)
|
void |
setNext(TableEntry next)
Change my pointer to the rest of the chain in this bucket. |
Heaper |
value()
|
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destruct, equals, hashForEqual, printContentsOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected TableEntry myNext
protected Heaper myValue
| Constructor Detail |
public TableEntry(Heaper value)
public TableEntry(TableEntry next,
Heaper value)
public TableEntry(Rcvr receiver)
| Method Detail |
public abstract TableEntry copy()
public TableEntry fetchNext()
public IntegerValue index()
public abstract boolean match(Position key)
public boolean matchInt(IntegerValue index)
public boolean matchValue(Heaper value)
public abstract Position position()
public boolean replaceValue(Heaper newValue)
public void setNext(TableEntry next)
public Heaper value()
public void printOn(java.io.PrintWriter oo)
Heaper
printOn in class Heaperpublic void destroy()
destroy in class Heaperpublic int actualHashForEqual()
Heaper
actualHashForEqual in class Heaperpublic boolean isEqual(Heaper other)
Heaper
isEqual in class Heaperpublic void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaperpublic static TableStepper bucketStepper(SharedPtrArray array)
public static TableEntry make(IntegerValue index,
Heaper value)
public static TableEntry make(Position key,
Heaper value)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||