info.javelot.functionalj.util
Class EmptyIterable<T>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyIterable
public EmptyIterable()
iterator
public Iterator<T> iterator()
- Returns an instance of
EmptyIterator.
- Specified by:
iterator in interface Iterable<T>