public class SynchronizedCharSet extends AbstractSynchronizedCharCollection implements 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| Constructor and Description |
|---|
SynchronizedCharSet(MutableCharSet set) |
SynchronizedCharSet(MutableCharSet set,
Object newLock) |
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, toStringdifference, intersect, symmetricDifference, tap, unionadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllisProperSubsetOf, isSubsetOfallSatisfy, 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, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic SynchronizedCharSet(MutableCharSet set)
public SynchronizedCharSet(MutableCharSet set, Object newLock)
public static SynchronizedCharSet of(MutableCharSet set)
public static SynchronizedCharSet of(MutableCharSet set, Object lock)
public SynchronizedCharSet without(char element)
without in interface MutableCharCollectionwithout in interface MutableCharSetwithout in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet with(char element)
with in interface MutableCharCollectionwith in interface MutableCharSetwith in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet withAll(CharIterable elements)
withAll in interface MutableCharCollectionwithAll in interface MutableCharSetwithAll in class AbstractSynchronizedCharCollectionpublic SynchronizedCharSet withoutAll(CharIterable elements)
withoutAll in interface MutableCharCollectionwithoutAll in interface MutableCharSetwithoutAll in class AbstractSynchronizedCharCollectionpublic MutableCharSet select(CharPredicate predicate)
select in interface CharIterableselect in interface MutableCharCollectionselect in interface CharSetselect in interface MutableCharSetselect in class AbstractSynchronizedCharCollectionpublic MutableCharSet reject(CharPredicate predicate)
reject in interface CharIterablereject in interface MutableCharCollectionreject in interface CharSetreject in interface MutableCharSetreject in class AbstractSynchronizedCharCollectionpublic <V> MutableSet<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharIterablecollect in interface MutableCharCollectioncollect in interface CharSetcollect in interface MutableCharSetcollect in class AbstractSynchronizedCharCollectionpublic LazyIterable<CharCharPair> cartesianProduct(CharSet set)
cartesianProduct in interface CharSetpublic boolean equals(Object otherSet)
public int hashCode()
public LazyCharIterable asLazy()
asLazy in interface CharIterableasLazy in class AbstractSynchronizedCharCollectionpublic MutableCharSet asUnmodifiable()
asUnmodifiable in interface MutableCharCollectionasUnmodifiable in interface MutableCharSetasUnmodifiable in class AbstractSynchronizedCharCollectionpublic MutableCharSet asSynchronized()
asSynchronized in interface MutableCharCollectionasSynchronized in interface MutableCharSetasSynchronized in class AbstractSynchronizedCharCollectionpublic CharSet freeze()
freeze in interface CharSetfreeze in interface MutableCharSetpublic ImmutableCharSet toImmutable()
toImmutable in interface MutableCharCollectiontoImmutable in interface CharSettoImmutable in interface MutableCharSettoImmutable in class AbstractSynchronizedCharCollectionpublic MutableCharSet newEmpty()
newEmpty in interface MutableCharCollectionnewEmpty in interface MutableCharSetCopyright © 2004–2022. All rights reserved.