@ReadOnly public interface CollectionIterable<ELEMENT> extends FiniteIterable<ELEMENT>
size() implementation.CollectionBasedIterable| Modifier and Type | Method and Description |
|---|---|
default boolean |
isEmpty()
Returns whether this iterable is empty.
|
@NonNegative int |
size()
Returns the size of this iterable.
|
default @NonNegative int |
size(@Positive int limit)
Returns the size of this iterable or the given limit if the size is greater than the limit.
|
average, collect, combine, combine, contains, containsAll, containsAll, containsDuplicates, containsNull, count, distinct, doForEach, equals, evaluate, exclude, filter, filterNot, filterNulls, findFirst, findFirst, findLast, findLast, findUnique, flatten, flattenAll, flattenOne, getFirst, getFirst, getFirstOrNull, getLast, getLast, getLastOrNull, groupBy, indexOf, instanceOf, intersect, isAscending, isDescending, isEmptyOrSingle, isOrdered, isSingle, isStrictlyAscending, isStrictlyDescending, join, join, join, join, join, join, join, join, lastIndexOf, map, matchAll, matchAny, matchNone, max, max, max, max, min, min, min, min, of, of, reduce, reduce, repeated, reversed, skip, sorted, sorted, sumAsDouble, sumAsLong, toArray, toArray, toGenericArray, toList, toMap, toSet, zipLongest, zipShortestextract, get, hasSize, iterator, limit, sizeAtLeast, sizeAtMost, zipLongest, zipShortestforEach, spliterator@Pure default boolean isEmpty()
FunctionalIterableisEmpty in interface net.digitalid.utility.interfaces.CountableisEmpty in interface FiniteIterable<ELEMENT>isEmpty in interface FunctionalIterable<ELEMENT>@Pure
@NonNegative
default @NonNegative int size(@Positive
@Positive int limit)
FunctionalIterablesize in interface FunctionalIterable<ELEMENT>@Pure @NonNegative @NonNegative int size()
FiniteIterablesize in interface net.digitalid.utility.interfaces.Countablesize in interface FiniteIterable<ELEMENT>Copyright © 2017. All rights reserved.