@GenerateSubclass @Freezable(value=ReadOnlySet.class) public abstract class BackedFreezableSet<E> extends BackedFreezableCollection<E> implements FreezableSet<E>
freezable| Modifier | Constructor and Description |
|---|---|
protected |
BackedFreezableSet(@Nonnull net.digitalid.utility.freezable.FreezableInterface freezable,
@Nonnull Set<E> set) |
| Modifier and Type | Method and Description |
|---|---|
@Nonnull @NonFrozen FreezableSet<E> |
clone() |
@Nonnull @Frozen ReadOnlySet<E> |
freeze() |
@Nonnull String |
toString() |
static <E> @Nonnull BackedFreezableSet<E> |
with(@Nonnull net.digitalid.utility.freezable.FreezableInterface freezable,
@Nonnull Set<E> set)
Returns a new freezable set backed by the given freezable and set.
|
add, addAll, clear, equals, freezableIterator, hashCode, isFrozen, iterator, remove, removeAll, retainAll, size, withfinalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, isEmpty, removeAll, retainAll, toArray, toArrayadd, addAll, clear, equals, hashCode, iterator, remove, size, spliteratoraddAll, addAll, freezableIterator, removeAll, removeAll, retainAll, retainAllparallelStream, removeIf, streamcontainsAlltoFreezableArray, toFreezableList, toFreezableMap, toFreezableSetsize, sizeaverage, collect, combine, combine, 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, toGenericArray, toList, toMap, toSet, zipLongest, zipShortest@Pure @Capturable @Nonnull public static <E> @Nonnull BackedFreezableSet<E> with(@Shared @Modified @Nonnull @Nonnull net.digitalid.utility.freezable.FreezableInterface freezable, @Captured @Nonnull @Nonnull Set<E> set)
@Impure @NonFrozenRecipient @Nonnull @Frozen public @Nonnull @Frozen ReadOnlySet<E> freeze()
freeze in interface FreezableCollection<E>freeze in interface FreezableIterable<E>freeze in interface FreezableSet<E>freeze in interface net.digitalid.utility.freezable.FreezableInterfacefreeze in class BackedFreezableCollection<E>@Pure @Capturable @Nonnull @NonFrozen public @Nonnull @NonFrozen FreezableSet<E> clone()
clone in interface ReadOnlyCollection<E>clone in interface ReadOnlyIterable<E>clone in interface ReadOnlySet<E>clone in interface net.digitalid.utility.freezable.ReadOnlyInterfaceclone in class BackedFreezableCollection<E>Copyright © 2017. All rights reserved.