@Freezable(value=ReadOnlyIterable.class) public interface FreezableIterable<E> extends ReadOnlyIterable<E>, net.digitalid.utility.freezable.FreezableInterface
iterable that can be frozen.
As a consequence, all modifying methods may fail with a PreconditionException.
It is recommended to use only ReadOnly or Immutable types for the elements.FreezableCollection,
FreezableArray| Modifier and Type | Method and Description |
|---|---|
default boolean |
containsAll(@Nonnull FreezableCollection<?> collection)
Returns whether this iterable contains all of the elements of the given collection.
|
@Nonnull @Frozen ReadOnlyIterable<E> |
freeze() |
clone, toFreezableArray, toFreezableList, toFreezableMap, toFreezableSetisEmpty, size, 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, iterator, limit, sizeAtLeast, sizeAtMost, zipLongest, zipShortestforEach, spliterator@Impure @NonFrozenRecipient @Chainable @Nonnull @Frozen @Nonnull @Frozen ReadOnlyIterable<E> freeze()
freeze in interface net.digitalid.utility.freezable.FreezableInterface@Pure default boolean containsAll(@NonCaptured @Unmodified @Nonnull @Nonnull FreezableCollection<?> collection)
Copyright © 2017. All rights reserved.