public class PDataFieldSpecification.SpecIterator extends Object implements Iterator
| Modifier and Type | Method and Description |
|---|---|
int |
getElement()
Returns the element number within the array if the
Field object returned
by the last call to next() was
an array field. |
PDataFieldSpecification |
getRemainder()
Gets the remainder of the specification.
|
boolean |
hasNext()
Determines whether there is another element.
|
Object |
next()
Returns the next element, which is always a
Field object. |
void |
remove()
Remote the current field from the specification.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public Object next() throws NoSuchElementException
Field object.next in interface IteratorField object.NoSuchElementException - thrown if the element is not presentpublic int getElement()
Field object returned
by the last call to next() was
an array field. It returns -1 for the "first or any"
element, and -2 if no element was specified (an open array).public PDataFieldSpecification getRemainder()
PDataFieldSpecification.Copyright © 2003, 2023, Oracle and/or its affiliates.