public class RangeAxis extends AbsAxis
A range expression can be used to construct a sequence of consecutive integers.
If either operand is an empty sequence, or if the integer derived from the first operand is greater than the integer derived from the second operand, the result of the range expression is an empty sequence.
If the two operands convert to the same integer, the result of the range expression is that integer. Otherwise, the result is a sequence containing the two integer operands and every integer between the two operands, in increasing order.
Constructor and Description |
---|
RangeAxis(INodeReadTrx rtx,
AbsAxis mFrom,
AbsAxis mTo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
addAtomicToItemList, close, getItemList, getNode, getStartKey, isSelfIncluded, iterator, moveTo, next, remove, reset, resetToLastKey, resetToStartKey
public RangeAxis(INodeReadTrx rtx, AbsAxis mFrom, AbsAxis mTo)
rtx
- Exclusive (immutable) trx to iterate with.mFrom
- start of the rangemTo
- the end of the rangeCopyright © 2013. All Rights Reserved.