org.abora.white.collection.settable
Class HashIndexEntry

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.collection.settable.TableEntry
              |
              +--org.abora.white.collection.settable.HashIndexEntry

public class HashIndexEntry
extends TableEntry


Field Summary
 
Fields inherited from class org.abora.white.collection.settable.TableEntry
myNext, myValue
 
Constructor Summary
HashIndexEntry(Heaper value)
           
HashIndexEntry(Rcvr receiver)
           
HashIndexEntry(TableEntry next, Heaper value)
           
 
Method Summary
 TableEntry copy()
           
 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.
 Position position()
           
 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)
           
 
Methods inherited from class org.abora.white.collection.settable.TableEntry
actualHashForEqual, bucketStepper, destroy, fetchNext, index, isEqual, make, make, matchValue, printOn, setNext, 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
 

Constructor Detail

HashIndexEntry

public HashIndexEntry(Heaper value)

HashIndexEntry

public HashIndexEntry(TableEntry next,
                      Heaper value)

HashIndexEntry

public HashIndexEntry(Rcvr receiver)
Method Detail

match

public boolean match(Position key)
Return true if my key matches key.

Specified by:
match in class TableEntry

matchInt

public boolean matchInt(IntegerValue index)
Return true if my key matches the position associated with index.

Overrides:
matchInt in class TableEntry

position

public Position position()
Specified by:
position in class TableEntry

replaceValue

public boolean replaceValue(Heaper newValue)
Return true if my value can be replaced in place, and false if the entire entry must be replaced.

Overrides:
replaceValue in class TableEntry

copy

public TableEntry copy()
Specified by:
copy in class TableEntry

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Overrides:
sendSelfTo in class TableEntry


Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.