Class SynchronizedCharSet
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedCharCollection
org.eclipse.collections.impl.set.mutable.primitive.SynchronizedCharSet
- All Implemented Interfaces:
Serializable,CharIterable,MutableCharCollection,PrimitiveIterable,CharSet,MutableCharSet
public class SynchronizedCharSet
extends AbstractSynchronizedCharCollection
implements MutableCharSet
A synchronized view of a
MutableCharSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
CharIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasLazy()boxed()cartesianProduct(CharSet set) <V> MutableSet<V>collect(CharToObjectFunction<? extends V> function) booleanfreeze()inthashCode()newEmpty()static SynchronizedCharSetof(MutableCharSet set) This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet.static SynchronizedCharSetof(MutableCharSet set, Object lock) This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet.reject(CharPredicate predicate) select(CharPredicate predicate) with(char element) withAll(CharIterable elements) without(char element) withoutAll(CharIterable elements) Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedCharCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, charIterator, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringMethods inherited from interface org.eclipse.collections.api.CharIterable
allSatisfy, anySatisfy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface org.eclipse.collections.api.set.primitive.CharSet
isProperSubsetOf, isSubsetOfMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableCharCollection
add, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllMethods inherited from interface org.eclipse.collections.api.set.primitive.MutableCharSet
difference, intersect, symmetricDifference, tap, unionMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Constructor Details
-
SynchronizedCharSet
-
SynchronizedCharSet
-
-
Method Details
-
of
This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet. -
of
This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet. Additionally, a developer specifies which lock to use with the collection. -
without
- Specified by:
withoutin interfaceMutableCharCollection- Specified by:
withoutin interfaceMutableCharSet- Overrides:
withoutin classAbstractSynchronizedCharCollection
-
boxed
- Specified by:
boxedin interfaceMutableCharSet
-
with
- Specified by:
within interfaceMutableCharCollection- Specified by:
within interfaceMutableCharSet- Overrides:
within classAbstractSynchronizedCharCollection
-
withAll
- Specified by:
withAllin interfaceMutableCharCollection- Specified by:
withAllin interfaceMutableCharSet- Overrides:
withAllin classAbstractSynchronizedCharCollection
-
withoutAll
- Specified by:
withoutAllin interfaceMutableCharCollection- Specified by:
withoutAllin interfaceMutableCharSet- Overrides:
withoutAllin classAbstractSynchronizedCharCollection
-
select
- Specified by:
selectin interfaceCharIterable- Specified by:
selectin interfaceCharSet- Specified by:
selectin interfaceMutableCharCollection- Specified by:
selectin interfaceMutableCharSet- Overrides:
selectin classAbstractSynchronizedCharCollection
-
reject
- Specified by:
rejectin interfaceCharIterable- Specified by:
rejectin interfaceCharSet- Specified by:
rejectin interfaceMutableCharCollection- Specified by:
rejectin interfaceMutableCharSet- Overrides:
rejectin classAbstractSynchronizedCharCollection
-
collect
- Specified by:
collectin interfaceCharIterable- Specified by:
collectin interfaceCharSet- Specified by:
collectin interfaceMutableCharCollection- Specified by:
collectin interfaceMutableCharSet- Overrides:
collectin classAbstractSynchronizedCharCollection
-
cartesianProduct
- Specified by:
cartesianProductin interfaceCharSet
-
equals
-
hashCode
public int hashCode() -
asLazy
- Specified by:
asLazyin interfaceCharIterable- Overrides:
asLazyin classAbstractSynchronizedCharCollection
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableCharCollection- Specified by:
asUnmodifiablein interfaceMutableCharSet- Overrides:
asUnmodifiablein classAbstractSynchronizedCharCollection
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableCharCollection- Specified by:
asSynchronizedin interfaceMutableCharSet- Overrides:
asSynchronizedin classAbstractSynchronizedCharCollection
-
freeze
- Specified by:
freezein interfaceCharSet- Specified by:
freezein interfaceMutableCharSet
-
toImmutable
- Specified by:
toImmutablein interfaceCharSet- Specified by:
toImmutablein interfaceMutableCharCollection- Specified by:
toImmutablein interfaceMutableCharSet- Overrides:
toImmutablein classAbstractSynchronizedCharCollection
-
newEmpty
- Specified by:
newEmptyin interfaceMutableCharCollection- Specified by:
newEmptyin interfaceMutableCharSet- Since:
- 9.2.
-