org.databene.commons.iterator
Class HeavyweightIterableAdapter<E>

java.lang.Object
  extended by org.databene.commons.iterator.HeavyweightIterableAdapter<E>
All Implemented Interfaces:
java.lang.Iterable<E>, HeavyweightIterable<E>

public class HeavyweightIterableAdapter<E>
extends java.lang.Object
implements HeavyweightIterable<E>

Wraps an Iterable with a HeavyweightIterable. On calls to iterator(), Iterators of the wrapped Iterable will be wrapped to be HeavyweightIterators.

Created at 17.10.2008 01:29:37

Since:
0.4.6
Author:
Volker Bergmann

Constructor Summary
HeavyweightIterableAdapter(java.lang.Iterable<E> source)
           
 
Method Summary
 HeavyweightIterator<E> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeavyweightIterableAdapter

public HeavyweightIterableAdapter(java.lang.Iterable<E> source)
Method Detail

iterator

public HeavyweightIterator<E> iterator()
Specified by:
iterator in interface java.lang.Iterable<E>
Specified by:
iterator in interface HeavyweightIterable<E>


Copyright © 2010. All Rights Reserved.