Class UnmodifiableCharCollection
- java.lang.Object
-
- org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableCharCollection
-
- org.eclipse.collections.impl.collection.mutable.primitive.UnmodifiableCharCollection
-
- All Implemented Interfaces:
java.io.Serializable
,CharIterable
,MutableCharCollection
,PrimitiveIterable
public class UnmodifiableCharCollection extends AbstractUnmodifiableCharCollection
This file was automatically generated from template file unmodifiablePrimitiveCollection.stg.- Since:
- 4.0.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
UnmodifiableCharCollection(MutableCharCollection collection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCharCollection
newEmpty()
Creates a new empty mutable version of the same collection type.static UnmodifiableCharCollection
of(MutableCharCollection collection)
This method will take a MutableCharCollection and wrap it directly in a UnmodifiableCharCollection.-
Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableCharCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, charIterator, chunk, clear, collect, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, getCharCollection, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, reject, remove, removeAll, removeAll, removeIf, retainAll, retainAll, select, size, sum, toArray, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, toString, with, withAll, without, withoutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.CharIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableCharCollection
tap
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UnmodifiableCharCollection
protected UnmodifiableCharCollection(MutableCharCollection collection)
-
-
Method Detail
-
of
public static UnmodifiableCharCollection of(MutableCharCollection collection)
This method will take a MutableCharCollection and wrap it directly in a UnmodifiableCharCollection.
-
newEmpty
public MutableCharCollection newEmpty()
Description copied from interface:MutableCharCollection
Creates a new empty mutable version of the same collection type.- Since:
- 9.2.
-
-