railo.runtime.type.it
Class StringIterator

java.lang.Object
  extended by railo.runtime.type.it.StringIterator
All Implemented Interfaces:
Enumeration<String>, Iterator<String>

public final class StringIterator
extends Object
implements Iterator<String>, Enumeration<String>

Iterator Implementation for a Object Array


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

Constructor Detail

StringIterator

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

Parameters:
arr - Base Array
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator<String>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<String>

next

public String next()
Specified by:
next in interface Iterator<String>

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<String>

nextElement

public String nextElement()
Specified by:
nextElement in interface Enumeration<String>


Copyright © 2012 Railo