|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.uiuc.ge.illigal.gale.data.DataView
This class is a view over a certain InstanceMemory.
Field Summary | |
private int |
iLowerBound
The Lower Bound of the view |
private int |
iSize
The number of instances in the view (calculated field) |
private int |
iUpperBound
The Upper Bound of the view |
private edu.uiuc.ge.illigal.gale.data.OrderedSet |
osData
The Ordered data set |
Constructor Summary | |
DataView(edu.uiuc.ge.illigal.gale.data.OrderedSet os,
int iLb,
int iUb)
Builds a view over the OrderSet given. |
Method Summary | |
edu.uiuc.ge.illigal.gale.data.Instance |
getInstance(int iPos)
Returns the instance for the given position |
int |
getSize()
Returns the number of instances in the OrderedSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int iLowerBound
private int iUpperBound
private edu.uiuc.ge.illigal.gale.data.OrderedSet osData
private int iSize
Constructor Detail |
public DataView(edu.uiuc.ge.illigal.gale.data.OrderedSet os, int iLb, int iUb)
os
- The ordered set that contains the dataiLb
- The lower bound of the viewiUb
- The upper bound of the viewMethod Detail |
public edu.uiuc.ge.illigal.gale.data.Instance getInstance(int iPos)
OrderedSet
getInstance
in interface OrderedSet
iPos
- Index of the requested instance
public int getSize()
OrderedSet
getSize
in interface OrderedSet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |