@ReadOnly public class CollectionBasedIterable<ELEMENT> extends Object implements CollectionIterable<ELEMENT>
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionBasedIterable(@Nonnull Collection<? extends ELEMENT> collection) |
| Modifier and Type | Method and Description |
|---|---|
@Nonnull ReadOnlyIterator<ELEMENT> |
iterator() |
@NonNegative int |
size()
Returns the size of this iterable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmpty, sizeaverage, 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, limit, sizeAtLeast, sizeAtMost, zipLongest, zipShortestforEach, spliteratorprotected CollectionBasedIterable(@Shared @Unmodified @Nonnull @Nonnull Collection<? extends ELEMENT> collection)
@Pure @Capturable @Nonnull public @Nonnull ReadOnlyIterator<ELEMENT> iterator()
@Pure @NonNegative public @NonNegative int size()
FiniteIterablesize in interface CollectionIterable<ELEMENT>size in interface FiniteIterable<ELEMENT>size in interface net.digitalid.utility.interfaces.CountableCopyright © 2017. All rights reserved.