|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.util.LongIterable
public class LongIterable
Iterable for Long.
| Constructor Summary | |
|---|---|
LongIterable()
Constructor. |
|
LongIterable(long ub)
Constructor. |
|
| Method Summary | |
|---|---|
long |
getUpperBound()
Get the upper bound for the iterator. |
java.util.Iterator<java.lang.Long> |
iterator()
Get an iterator over Long. |
void |
setAllIterator()
Set the iteration algorithm to all elements. |
void |
setNonNegativeIterator()
Set the iteration algorithm to non-negative elements. |
void |
setUpperBound(long ub)
Set the upper bound for the iterator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongIterable()
public LongIterable(long ub)
| Method Detail |
|---|
public void setUpperBound(long ub)
ub - an upper bound for the iterator elements.public long getUpperBound()
public void setAllIterator()
public void setNonNegativeIterator()
public java.util.Iterator<java.lang.Long> iterator()
iterator in interface java.lang.Iterable<java.lang.Long>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||