net.sf.jga.util
Class ArrayUtils.ArrayIterable<T>

java.lang.Object
  extended by net.sf.jga.util.ArrayUtils.ArrayIterable<T>
All Implemented Interfaces:
java.lang.Iterable<T>
Direct Known Subclasses:
Reverse.ReverseArrayIterable
Enclosing class:
ArrayUtils

public static class ArrayUtils.ArrayIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>

Iterable wrapper around a given array.


Constructor Summary
ArrayUtils.ArrayIterable(T[] ts)
           
 
Method Summary
protected  java.util.Iterator<T> buildIterator(T[] delegate)
           
 java.util.Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtils.ArrayIterable

public ArrayUtils.ArrayIterable(T[] ts)
Method Detail

iterator

public java.util.Iterator<T> iterator()
Specified by:
iterator in interface java.lang.Iterable<T>

buildIterator

protected java.util.Iterator<T> buildIterator(T[] delegate)


Copyright © 2002-2006 David A. Hall. All Rights Reserved.