Class EmptyIterable<T>
java.lang.Object
de.renebergelt.quiterables.iterators.EmptyIterable<T>
- Type Parameters:
T- Type of the elements in this Iterable
- All Implemented Interfaces:
Iterable<T>
An iterable implementation which cotnains no elements
- Author:
- René Bergelt
-
Method Summary
Modifier and TypeMethodDescriptionstatic EmptyIterableReturn an instance of the EmptyIterable class (Internally always uses the same instance)iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator