public interface SizedIterable<T>
extends java.lang.Iterable<T>
Iterable
. For when a Collection
has too big a contract.Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Determine whether the
Iterable has any elements. |
int |
size()
Returns the number of elements in this
Iterable . |