Creates a fluent iterable with the first {@code size} elements of this fluent iterable. If this fluent iterable does not contain that many elements, the returned fluent iterable will have the same behavior as this fluent iterable. The returned fluent iterable's iterator supports {@code remove()} if
(int maxSize)
| 594 | * @throws IllegalArgumentException if {@code size} is negative |
| 595 | */ |
| 596 | public final FluentIterable<E> limit(int maxSize) { |
| 597 | return from(Iterables.limit(getDelegate(), maxSize)); |
| 598 | } |
| 599 | |
| 600 | /** |
| 601 | * Determines whether this fluent iterable is empty. |
nothing calls this directly
no test coverage detected