@GenerateConverter @ReadOnly(value=FreezableList.class) public interface ReadOnlyList<E> extends ReadOnlyCollection<E>
lists and should never be cast away (unless external code requires it).
It is recommended to use only ReadOnly or Immutable types for the elements.| Modifier and Type | Method and Description |
|---|---|
@Nonnull @NonFrozen FreezableList<E> |
clone() |
@Nonnull net.digitalid.utility.functional.iterators.ReadOnlyListIterator<E> |
listIterator() |
@Nonnull net.digitalid.utility.functional.iterators.ReadOnlyListIterator<E> |
listIterator(@IndexForInsertion int index) |
@Nonnull ReadOnlyList<E> |
subList(@Index int fromIndex,
@IndexForInsertion int toIndex) |
static @Nonnull ReadOnlyList |
with(boolean frozen) |
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@Pure
@Recover
@TODO(task="Support the conversion of freezable collections. (This method is nonsense, of course.)",
date="2016-11-09",
author=KASPAR_ETTER)
@Nonnull
static @Nonnull ReadOnlyList with(boolean frozen)
@Pure @Capturable @Nonnull @Nonnull net.digitalid.utility.functional.iterators.ReadOnlyListIterator<E> listIterator()
List.listIterator()@Pure @Capturable @Nonnull @Nonnull net.digitalid.utility.functional.iterators.ReadOnlyListIterator<E> listIterator(@IndexForInsertion @IndexForInsertion int index)
List.listIterator(int)@Pure @NonCapturable @Nonnull @Nonnull ReadOnlyList<E> subList(@Index @Index int fromIndex, @IndexForInsertion @IndexForInsertion int toIndex)
List.subList(int, int)@Pure @Capturable @Nonnull @NonFrozen @Nonnull @NonFrozen FreezableList<E> clone()
clone in interface ReadOnlyCollection<E>clone in interface net.digitalid.utility.freezable.ReadOnlyInterfaceclone in interface ReadOnlyIterable<E>Copyright © 2017. All rights reserved.