Class JSortItem

java.lang.Object
  |
  +--JSortItem

public class JSortItem
extends java.lang.Object

JSortItem

This object is the Java equivalent to a pointer to a sort item in a memory page.

Development Environment

Compiled under JDK 1.2.0, Jini 1.0.0


Field Summary
(package private)  int iItemOffset
          Byte offset of the beginning of the item.
(package private)  int iRealPageNumber
          Real page number (0 based).
 
Constructor Summary
JSortItem()
           
 
Method Summary
 void getItem(JSortJob jobIn, long lItemNumberIn)
          This method assumes that the virtual page that contains the requested item is already in memory.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

iRealPageNumber

int iRealPageNumber
Real page number (0 based).

iItemOffset

int iItemOffset
Byte offset of the beginning of the item.
Constructor Detail

JSortItem

public JSortItem()
Method Detail

getItem

public void getItem(JSortJob jobIn,
                    long lItemNumberIn)
This method assumes that the virtual page that contains the requested item is already in memory. This method then stores the real page number and the byte offset of the item in this object's instance variables.
Parameters:
jobIn - - the job that contains the real and virtual page arrays.
lItemNumberIn - - the requested sort item number.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object