javax.faces.component
static class: SelectUtils.ArrayIterator [javadoc |
source]
java.lang.Object
javax.faces.component.SelectUtils$ArrayIterator
All Implemented Interfaces:
Iterator
Exposes an Array via an
Iterator
Method from javax.faces.component.SelectUtils$ArrayIterator Summary: |
---|
hasNext, next, remove |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.component.SelectUtils$ArrayIterator Detail: |
public boolean hasNext() {
return (index < items.length);
}
|
public Object next() {
try {
return (items[index++]);
} catch (IndexOutOfBoundsException e) {
throw new NoSuchElementException();
}
}
|
public void remove() {
throw new UnsupportedOperationException();
}
|