info.javelot.functionalj.util
Class EmptyIterable<T>

java.lang.Object
  extended by info.javelot.functionalj.util.EmptyIterable<T>
Type Parameters:
T - the type over which to iterate.
All Implemented Interfaces:
Iterable<T>

public class EmptyIterable<T>
extends Object
implements Iterable<T>

Empty iterable that is used for null Lists.

Author:
Copyright © 2006 Frederic Daoud

Constructor Summary
EmptyIterable()
           
 
Method Summary
 Iterator<T> iterator()
          Returns an instance of EmptyIterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyIterable

public EmptyIterable()
Method Detail

iterator

public Iterator<T> iterator()
Returns an instance of EmptyIterator.

Specified by:
iterator in interface Iterable<T>