org.databene.commons.iterator
Class ArrayIterable<E>
java.lang.Object
org.databene.commons.iterator.ArrayIterable<E>
- All Implemented Interfaces:
- java.lang.Iterable<E>, TypedIterable<E>
public class ArrayIterable<E>
- extends java.lang.Object
- implements TypedIterable<E>
Implementation of the Iterable interface which creates Iterator that iterate over an array.
Created at 30.06.2009 09:30:02
- Since:
- 0.5.0
- Author:
- Volker Bergmann
|
Field Summary |
protected java.lang.Class<E> |
type
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected java.lang.Class<E> type
ArrayIterable
public ArrayIterable(E[] source,
java.lang.Class<E> type)
getType
public java.lang.Class<E> getType()
- Specified by:
getType in interface TypedIterable<E>
iterator
public java.util.Iterator<E> iterator()
- Specified by:
iterator in interface java.lang.Iterable<E>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.