Class SynchronizedCharCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedCharCollection
org.eclipse.collections.impl.collection.mutable.primitive.SynchronizedCharCollection
- All Implemented Interfaces:
Serializable
,CharIterable
,MutableCharCollection
,PrimitiveIterable
public class SynchronizedCharCollection extends AbstractSynchronizedCharCollection
This file was automatically generated from template file synchronizedPrimitiveCollection.stg.
- Since:
- 4.0.
- See Also:
- Serialized Form
-
Method Summary
Modifier and Type Method Description MutableCharCollection
newEmpty()
Creates a new empty mutable version of the same collection type.static SynchronizedCharCollection
of(MutableCharCollection collection)
This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection.static SynchronizedCharCollection
of(MutableCharCollection collection, Object lock)
This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection.Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedCharCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, charIterator, chunk, clear, collect, contains, containsAll, containsAll, count, detectIfNone, each, forEach, 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
equals, 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, medianIfEmpty, reject, select, summaryStatistics
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableCharCollection
tap
-
Method Details
-
of
This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection. -
of
This method will take a MutableCharCollection and wrap it directly in a SynchronizedCharCollection. Additionally, a developer specifies which lock to use with the collection. -
newEmpty
Description copied from interface:MutableCharCollection
Creates a new empty mutable version of the same collection type.- Since:
- 9.2.
-