@NotThreadSafe public final class UnmodifiableCharSet extends AbstractUnmodifiableCharCollection implements com.gs.collections.api.set.primitive.MutableCharSet
| Modifier and Type | Method and Description |
|---|---|
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 UnmodifiableCharSet |
of(com.gs.collections.api.set.primitive.MutableCharSet set)
This method will take a MutableCharSet and wrap it directly in a UnmodifiableCharSet.
|
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.
|
UnmodifiableCharSet |
with(char element) |
UnmodifiableCharSet |
withAll(com.gs.collections.api.CharIterable elements) |
UnmodifiableCharSet |
without(char element) |
UnmodifiableCharSet |
withoutAll(com.gs.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, charIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, getCharCollection, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static UnmodifiableCharSet of(com.gs.collections.api.set.primitive.MutableCharSet set)
public UnmodifiableCharSet with(char element)
with in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwith in interface com.gs.collections.api.set.primitive.MutableCharSetwith in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharSet without(char element)
without in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithout in interface com.gs.collections.api.set.primitive.MutableCharSetwithout in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharSet 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 AbstractUnmodifiableCharCollectionpublic UnmodifiableCharSet 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 AbstractUnmodifiableCharCollectionpublic 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 AbstractUnmodifiableCharCollectionpublic 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 AbstractUnmodifiableCharCollectionpublic <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 AbstractUnmodifiableCharCollectionpublic 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.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 AbstractUnmodifiableCharCollectionpublic 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 AbstractUnmodifiableCharCollectionpublic 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 AbstractUnmodifiableCharCollection