org.abora.white.collection.settable
Class IndexEntry

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

public class IndexEntry
extends TableEntry


Field Summary
protected  IntegerValue myIndex
           
 
Fields inherited from class org.abora.white.collection.settable.TableEntry
myNext, myValue
 
Constructor Summary
IndexEntry(IntegerValue index, Heaper value)
           
IndexEntry(Rcvr receiver)
           
IndexEntry(TableEntry next, Heaper value, IntegerValue index)
           
 
Method Summary
 TableEntry copy()
           
 IntegerValue index()
           
 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()
           
 void printOn(java.io.PrintWriter oo)
          This should rarely be overridden.
 void sendSelfTo(Xmtr xmtr)
           
 
Methods inherited from class org.abora.white.collection.settable.TableEntry
actualHashForEqual, bucketStepper, destroy, fetchNext, isEqual, make, make, matchValue, replaceValue, 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
 

Field Detail

myIndex

protected IntegerValue myIndex
Constructor Detail

IndexEntry

public IndexEntry(IntegerValue index,
                  Heaper value)

IndexEntry

public IndexEntry(TableEntry next,
                  Heaper value,
                  IntegerValue index)

IndexEntry

public IndexEntry(Rcvr receiver)
Method Detail

index

public IntegerValue index()
Overrides:
index in class TableEntry

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

copy

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

printOn

public void printOn(java.io.PrintWriter oo)
Description copied from class: Heaper
This should rarely be overridden. In Tofu, it prints ClassName(...), where ... is either produced by printInsideOn or is ??? if printInsideOn it not overridden.

Overrides:
printOn 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.