|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ucl.xpath.ResultSequence
org.ucl.xpath.RangeResultSequence
A range expression can be used to construct a sequence of consecutive integers.
| Constructor Summary | |
RangeResultSequence(int start,
int end)
set the start and end of the range result sequence |
|
| Method Summary | |
void |
add(AnyType item)
item is an integer to add to the range. |
void |
clear()
clear range |
void |
concat(ResultSequence rs)
remove the tail from the range given. |
ResultSequence |
create_new()
create new result sequence |
boolean |
empty()
asks if the range is empty? |
AnyType |
first()
retrieve the first item |
AnyType |
get(int i)
get item in index i |
java.util.ListIterator |
iterator()
interate through range. |
void |
release()
release |
int |
size()
get the size |
| Methods inherited from class org.ucl.xpath.ResultSequence |
string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RangeResultSequence(int start,
int end)
start - is the integer position of the start of range.end - is the integer position of the end of range.| Method Detail |
public void add(AnyType item)
add in class ResultSequenceitem - is an integer.public void concat(ResultSequence rs)
concat in class ResultSequencers - is the rangepublic java.util.ListIterator iterator()
iterator in class ResultSequencepublic AnyType get(int i)
ResultSequence
get in class ResultSequencei - is the position.
public int size()
ResultSequence
size in class ResultSequencepublic void clear()
clear in class ResultSequencepublic ResultSequence create_new()
create_new in class ResultSequencepublic AnyType first()
ResultSequence
first in class ResultSequencepublic boolean empty()
empty in class ResultSequencepublic void release()
release in class ResultSequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||