railo.runtime.util
Class ArrayIterator

java.lang.Object
  extended by railo.runtime.util.ArrayIterator
All Implemented Interfaces:
Iterator

public final class ArrayIterator
extends Object
implements Iterator

Iterator Implementation for a Object Array


Constructor Summary
ArrayIterator(Object[] arr)
          constructor for the class
ArrayIterator(Object[] arr, int offset)
           
ArrayIterator(Object[] arr, int offset, int length)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIterator

public ArrayIterator(Object[] arr)
constructor for the class

Parameters:
arr - Base Array

ArrayIterator

public ArrayIterator(Object[] arr,
                     int offset,
                     int length)

ArrayIterator

public ArrayIterator(Object[] arr,
                     int offset)
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator
See Also:
Iterator.remove()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
See Also:
Iterator.hasNext()

next

public Object next()
Specified by:
next in interface Iterator
See Also:
Iterator.next()


Copyright © 2012 Railo