|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.sql.lang.CollectionValueIterator
public class CollectionValueIterator
| Constructor Summary | |
|---|---|
CollectionValueIterator(java.util.Collection vals)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more values. |
java.lang.Object |
next()
Returns the next Expression or Object value in the interation. |
void |
reset()
Optional reset method - allows a single instance of a ValueIterator implementation to be resettable, such that the next call to next returns the first element in
the iteration (if any). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionValueIterator(java.util.Collection vals)
| Method Detail |
|---|
public boolean hasNext()
throws MetaMatrixComponentException
ValueIterator
hasNext in interface ValueIteratorMetaMatrixComponentException - indicating a non business-
related Exception such as a service or bean being unavailable, or
a communication failure.ValueIterator.hasNext()
public java.lang.Object next()
throws MetaMatrixComponentException
ValueIterator
next in interface ValueIteratorMetaMatrixComponentException - indicating a non business-
related Exception such as a service or bean being unavailable, or
a communication failure.ValueIterator.next()public void reset()
ValueIteratornext returns the first element in
the iteration (if any). This method should be able to be
called at any point during the lifecycle of a ValueIterator
instance.
reset in interface ValueIteratorValueIterator.reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||