javax.faces.component
static final class: UISelectMany.ArrayIterator [javadoc |
source]
java.lang.Object
javax.faces.component.UISelectMany$ArrayIterator
All Implemented Interfaces:
Iterator
Exposes an Array as an Iterator.
Method from javax.faces.component.UISelectMany$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.UISelectMany$ArrayIterator Detail: |
public boolean hasNext() {
return (idx < length);
}
|
public Object next() {
if (idx >= length) {
throw new NoSuchElementException();
} else {
return Array.get(value, idx++);
}
}
|
public void remove() {
throw new UnsupportedOperationException();
}
|