@ThreadSafe public final class SynchronizedCharSet extends AbstractSynchronizedCharCollection implements org.eclipse.collections.api.set.primitive.MutableCharSet
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.
MutableCharSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.LazyCharIterable |
asLazy() |
org.eclipse.collections.api.set.primitive.MutableCharSet |
asSynchronized() |
org.eclipse.collections.api.set.primitive.MutableCharSet |
asUnmodifiable() |
<V> org.eclipse.collections.api.set.MutableSet<V> |
collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
org.eclipse.collections.api.set.primitive.CharSet |
freeze() |
int |
hashCode() |
static SynchronizedCharSet |
of(org.eclipse.collections.api.set.primitive.MutableCharSet set)
This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet.
|
static SynchronizedCharSet |
of(org.eclipse.collections.api.set.primitive.MutableCharSet set,
Object lock)
This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet.
|
org.eclipse.collections.api.set.primitive.MutableCharSet |
reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
org.eclipse.collections.api.set.primitive.MutableCharSet |
select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
org.eclipse.collections.api.set.primitive.ImmutableCharSet |
toImmutable() |
SynchronizedCharSet |
with(char element) |
SynchronizedCharSet |
withAll(org.eclipse.collections.api.CharIterable elements) |
SynchronizedCharSet |
without(char element) |
SynchronizedCharSet |
withoutAll(org.eclipse.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, charIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static SynchronizedCharSet of(org.eclipse.collections.api.set.primitive.MutableCharSet set)
public static SynchronizedCharSet of(org.eclipse.collections.api.set.primitive.MutableCharSet set, Object lock)
public SynchronizedCharSet without(char element)
without in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableCharSetwithout in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet with(char element)
with in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableCharSetwith in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet withAll(org.eclipse.collections.api.CharIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithAll in interface org.eclipse.collections.api.set.primitive.MutableCharSetwithAll in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet withoutAll(org.eclipse.collections.api.CharIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithoutAll in interface org.eclipse.collections.api.set.primitive.MutableCharSetwithoutAll in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.set.primitive.MutableCharSet select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface org.eclipse.collections.api.CharIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionselect in interface org.eclipse.collections.api.set.primitive.CharSetselect in interface org.eclipse.collections.api.set.primitive.MutableCharSetselect in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.set.primitive.MutableCharSet reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface org.eclipse.collections.api.CharIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionreject in interface org.eclipse.collections.api.set.primitive.CharSetreject in interface org.eclipse.collections.api.set.primitive.MutableCharSetreject in class AbstractSynchronizedCharCollectionpublic <V> org.eclipse.collections.api.set.MutableSet<V> collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.CharIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectioncollect in interface org.eclipse.collections.api.set.primitive.CharSetcollect in interface org.eclipse.collections.api.set.primitive.MutableCharSetcollect in class AbstractSynchronizedCharCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public org.eclipse.collections.api.LazyCharIterable asLazy()
asLazy in interface org.eclipse.collections.api.CharIterableasLazy in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.set.primitive.MutableCharSet asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionasUnmodifiable in interface org.eclipse.collections.api.set.primitive.MutableCharSetasUnmodifiable in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.set.primitive.MutableCharSet asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionasSynchronized in interface org.eclipse.collections.api.set.primitive.MutableCharSetasSynchronized in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.set.primitive.CharSet freeze()
freeze in interface org.eclipse.collections.api.set.primitive.CharSetfreeze in interface org.eclipse.collections.api.set.primitive.MutableCharSetpublic org.eclipse.collections.api.set.primitive.ImmutableCharSet toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectiontoImmutable in interface org.eclipse.collections.api.set.primitive.CharSettoImmutable in interface org.eclipse.collections.api.set.primitive.MutableCharSettoImmutable in class AbstractSynchronizedCharCollectionCopyright © 2004–2018. All rights reserved.