Serializable
, Iterable<T>
, Collection<T>
, MutableCollection<T>
, InternalIterable<T>
, RichIterable<T>
public class UnmodifiableMutableCollection<T> extends AbstractUnmodifiableMutableCollection<T> implements Serializable
Modifier and Type | Method | Description |
---|---|---|
static <E,C extends Collection<E>> |
of(C collection) |
This method will take a MutableCollection and wrap it directly in a UnmodifiableMutableCollection.
|
add, addAll, addAllIterable, aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, chunk, clear, collect, collect, collectBoolean, collectBoolean, collectByte, collectByte, collectChar, collectChar, collectDouble, collectDouble, collectFloat, collectFloat, collectIf, collectIf, collectInt, collectInt, collectLong, collectLong, collectShort, collectShort, collectWith, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollect, forEach, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupBy, groupByEach, groupByEach, groupByUniqueKey, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoWith, into, isEmpty, iterator, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, newEmpty, noneSatisfy, noneSatisfyWith, notEmpty, partition, partitionWith, reject, reject, rejectWith, rejectWith, remove, removeAll, removeAllIterable, removeIf, removeIfWith, retainAll, retainAllIterable, select, select, selectAndRejectWith, selectInstancesOf, selectWith, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, tap, toArray, toArray, toBag, toBiMap, toImmutable, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, with, withAll, without, withoutAll, zip, zip, zipWithIndex, zipWithIndex
equals, hashCode, parallelStream, removeIf, spliterator, stream
forEach
countBy, countByEach, countByWith, flatCollectWith
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
countBy, countByEach, countByWith, flatCollectWith, getAny, groupByAndCollect, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong
public static <E,C extends Collection<E>> UnmodifiableMutableCollection<E> of(C collection)
Copyright © 2004–2019. All rights reserved.