railo.runtime.type.it
Class KeyIterator

java.lang.Object
  extended by railo.runtime.type.it.KeyIterator
All Implemented Interfaces:
Enumeration<Collection.Key>, Iterator<Collection.Key>

public final class KeyIterator
extends Object
implements Iterator<Collection.Key>, Enumeration<Collection.Key>

Iterator Implementation for a Object Array


Constructor Summary
KeyIterator(Collection.Key[] arr)
          constructor for the class
 
Method Summary
 boolean hasMoreElements()
           
 boolean hasNext()
           
 Collection.Key next()
           
 Collection.Key nextElement()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyIterator

public KeyIterator(Collection.Key[] arr)
constructor for the class

Parameters:
arr - Base Array
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator<Collection.Key>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Collection.Key>

next

public Collection.Key next()
Specified by:
next in interface Iterator<Collection.Key>

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<Collection.Key>

nextElement

public Collection.Key nextElement()
Specified by:
nextElement in interface Enumeration<Collection.Key>


Copyright © 2012 Railo