|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtentSeq<N extends java.lang.Number>
Experimental!
Method Summary | |
---|---|
boolean |
contains(N number)
Returns true if this set contains the given number. |
boolean |
containsAll(ExtentSeq<N> seq)
Returns true if this set contains all the numbers from the given set. |
boolean |
containsAll(N start,
N end)
Returns true if this set contains all the numbers from the given range inclusively. |
boolean |
containsAny(ExtentSeq<N> seq)
|
boolean |
containsAny(N start,
N end)
|
N |
count()
|
ExtentSeq<N> |
count(N count)
|
N |
end()
|
N |
first()
|
void |
init()
Initiates the iteration. |
boolean |
isEmpty()
Returns true if the receiver contains no items. |
boolean |
isExploited()
Returns true if this sequence has reached the number of elements specified by #count(N) |
boolean |
iter()
Performs next iteration step and returns true if that's been possible, or false otherwise. |
N |
last()
|
N |
level()
|
NumberSeq<N> |
numbers()
|
N |
start()
|
NumberList<N> |
toList()
|
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
N start()
N end()
N level()
N first()
N last()
N count()
ExtentSeq<N> count(N count)
boolean isExploited()
#count(N)
NumberSeq<N> numbers()
boolean isEmpty()
false
is returned.
boolean contains(N number)
true
if this set contains the given number.
number
- number whose presence in this set is to be tested
true
if this set contains the given numberboolean containsAll(N start, N end)
true
if this set contains all the numbers from the given range inclusively.
start
- first index of the range of itemsend
- last index of the range of items
true
if this set contains the given range of numbersboolean containsAny(N start, N end)
boolean containsAll(ExtentSeq<N> seq)
true
if this set contains all the numbers from the given set.
seq
- sequence of extents whose presence in the receiver should be tested
true
if this set contains the given range of numbersboolean containsAny(ExtentSeq<N> seq)
NumberList<N> toList()
void init()
boolean iter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |