E - the type of elements returned by the iterable's iteratorpublic final class EmptyIterable<E> extends Object implements Iterable<E>, Serializable
EmptyIterable is just that. Maybe just a touch better-performing than Collections.EMPTY_SET since we don't create a new Iterator every time iterator() is called. (Not sure why they do that....)EmptyIterator,
EmptyListIterable,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<T> |
instance()
Return the singleton instance of this
Iterable. |
Iterator<E> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.