org.databene.commons.converter
Class ConvertingIterable<S,T>
java.lang.Object
org.databene.commons.converter.ConvertingIterable<S,T>
- All Implemented Interfaces:
- java.lang.Iterable<T>, HeavyweightIterable<T>, HeavyweightTypedIterable<T>, TypedIterable<T>
public class ConvertingIterable<S,T>
- extends java.lang.Object
- implements HeavyweightTypedIterable<T>
Iterable that provides ConvertingIterators.
Created: 28.08.2007 08:57:16
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
iterable
protected java.lang.Iterable<S> iterable
converter
protected Converter<S,T> converter
ConvertingIterable
public ConvertingIterable(java.lang.Iterable<S> iterable,
Converter<S,T> converter)
getType
public java.lang.Class<T> getType()
- Specified by:
getType in interface TypedIterable<T>
iterator
public HeavyweightIterator<T> iterator()
- Specified by:
iterator in interface java.lang.Iterable<T>- Specified by:
iterator in interface HeavyweightIterable<T>
close
public void close()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.