java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.utility.iterable.EmptyIterable<E>
Type Parameters:
E - the type of elements returned by the iterable's iterator
All Implemented Interfaces:
Serializable, Iterable<E>

public final class EmptyIterable<E> extends Object implements Iterable<E>, Serializable
An 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....)
Since:
2.5
Version:
2.5
See Also:
  • Method Details