public final class KeyIterator extends Object implements Iterator<Collection.Key>, Enumeration<Collection.Key>
Constructor and Description |
---|
KeyIterator(Collection.Key[] arr)
constructor for the class
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
boolean |
hasNext() |
Collection.Key |
next() |
Collection.Key |
nextElement() |
void |
remove() |
public KeyIterator(Collection.Key[] arr)
arr
- Base Arraypublic void remove()
remove
in interface Iterator<Collection.Key>
public boolean hasNext()
hasNext
in interface Iterator<Collection.Key>
public Collection.Key next()
next
in interface Iterator<Collection.Key>
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Collection.Key>
public Collection.Key nextElement()
nextElement
in interface Enumeration<Collection.Key>
Copyright © 2015 Lucee