@ThreadSafe public final class SynchronizedCharSet extends AbstractSynchronizedCharCollection implements com.gs.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 |
|---|---|
com.gs.collections.api.LazyCharIterable |
asLazy() |
com.gs.collections.api.set.primitive.MutableCharSet |
asSynchronized() |
com.gs.collections.api.set.primitive.MutableCharSet |
asUnmodifiable() |
<V> com.gs.collections.api.set.MutableSet<V> |
collect(com.gs.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function) |
boolean |
equals(java.lang.Object otherSet)
Follows the same general contract as
Set.equals(Object). |
com.gs.collections.api.set.primitive.CharSet |
freeze()
Returns a frozen copy of this set.
|
int |
hashCode()
Follows the same general contract as
Set.hashCode(). |
static SynchronizedCharSet |
of(com.gs.collections.api.set.primitive.MutableCharSet set)
This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet.
|
static SynchronizedCharSet |
of(com.gs.collections.api.set.primitive.MutableCharSet set,
java.lang.Object lock)
This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet.
|
com.gs.collections.api.set.primitive.MutableCharSet |
reject(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
com.gs.collections.api.set.primitive.MutableCharSet |
select(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
com.gs.collections.api.set.primitive.ImmutableCharSet |
toImmutable()
Returns an immutable copy of this set.
|
SynchronizedCharSet |
with(char element) |
SynchronizedCharSet |
withAll(com.gs.collections.api.CharIterable elements) |
SynchronizedCharSet |
without(char element) |
SynchronizedCharSet |
withoutAll(com.gs.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, charIterator, clear, contains, containsAll, containsAll, count, detectIfNone, forEach, getCharCollection, getLock, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAllallSatisfy, anySatisfy, average, charIterator, contains, containsAll, containsAll, count, detectIfNone, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static SynchronizedCharSet of(com.gs.collections.api.set.primitive.MutableCharSet set)
public static SynchronizedCharSet of(com.gs.collections.api.set.primitive.MutableCharSet set, java.lang.Object lock)
public SynchronizedCharSet without(char element)
without in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithout in interface com.gs.collections.api.set.primitive.MutableCharSetwithout in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet with(char element)
with in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwith in interface com.gs.collections.api.set.primitive.MutableCharSetwith in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet withAll(com.gs.collections.api.CharIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithAll in interface com.gs.collections.api.set.primitive.MutableCharSetwithAll in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet withoutAll(com.gs.collections.api.CharIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithoutAll in interface com.gs.collections.api.set.primitive.MutableCharSetwithoutAll in class AbstractSynchronizedCharCollectionpublic com.gs.collections.api.set.primitive.MutableCharSet select(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface com.gs.collections.api.CharIterableselect in interface com.gs.collections.api.collection.primitive.MutableCharCollectionselect in interface com.gs.collections.api.set.primitive.CharSetselect in interface com.gs.collections.api.set.primitive.MutableCharSetselect in class AbstractSynchronizedCharCollectionpublic com.gs.collections.api.set.primitive.MutableCharSet reject(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface com.gs.collections.api.CharIterablereject in interface com.gs.collections.api.collection.primitive.MutableCharCollectionreject in interface com.gs.collections.api.set.primitive.CharSetreject in interface com.gs.collections.api.set.primitive.MutableCharSetreject in class AbstractSynchronizedCharCollectionpublic <V> com.gs.collections.api.set.MutableSet<V> collect(com.gs.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.CharIterablecollect in interface com.gs.collections.api.collection.primitive.MutableCharCollectioncollect in interface com.gs.collections.api.set.primitive.CharSetcollect in interface com.gs.collections.api.set.primitive.MutableCharSetcollect in class AbstractSynchronizedCharCollectionpublic boolean equals(java.lang.Object otherSet)
com.gs.collections.api.set.primitive.CharSetSet.equals(Object).equals in interface com.gs.collections.api.set.primitive.CharSetequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.set.primitive.CharSetSet.hashCode().hashCode in interface com.gs.collections.api.set.primitive.CharSethashCode in class java.lang.Objectpublic com.gs.collections.api.LazyCharIterable asLazy()
asLazy in interface com.gs.collections.api.CharIterableasLazy in class AbstractSynchronizedCharCollectionpublic com.gs.collections.api.set.primitive.MutableCharSet asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableCharCollectionasUnmodifiable in interface com.gs.collections.api.set.primitive.MutableCharSetasUnmodifiable in class AbstractSynchronizedCharCollectionpublic com.gs.collections.api.set.primitive.MutableCharSet asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableCharCollectionasSynchronized in interface com.gs.collections.api.set.primitive.MutableCharSetasSynchronized in class AbstractSynchronizedCharCollectionpublic com.gs.collections.api.set.primitive.CharSet freeze()
com.gs.collections.api.set.primitive.MutableCharSetfreeze in interface com.gs.collections.api.set.primitive.CharSetfreeze in interface com.gs.collections.api.set.primitive.MutableCharSetpublic com.gs.collections.api.set.primitive.ImmutableCharSet toImmutable()
com.gs.collections.api.set.primitive.MutableCharSettoImmutable in interface com.gs.collections.api.collection.primitive.MutableCharCollectiontoImmutable in interface com.gs.collections.api.set.primitive.CharSettoImmutable in interface com.gs.collections.api.set.primitive.MutableCharSettoImmutable in class AbstractSynchronizedCharCollection