org.saager.enumerator
Class LiveIterable<T>

java.lang.Object
  extended by org.saager.enumerator.LiveIterable<T>
All Implemented Interfaces:
java.lang.Iterable<T>

public class LiveIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>


Nested Class Summary
private static interface LiveIterable.ArrayHolder
           
 
Field Summary
private  LiveIterable.ArrayHolder ah
           
(package private)  int arrLength
           
 
Constructor Summary
LiveIterable(java.util.List<T> array)
           
LiveIterable(java.util.Set<T> set)
           
 
Method Summary
 java.util.Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ah

private final LiveIterable.ArrayHolder ah

arrLength

int arrLength
Constructor Detail

LiveIterable

public LiveIterable(java.util.Set<T> set)

LiveIterable

public LiveIterable(java.util.List<T> array)
Method Detail

iterator

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