public class UnmodifiableCharSet extends AbstractUnmodifiableCharCollection implements MutableCharSet
| Constructor and Description |
|---|
UnmodifiableCharSet(MutableCharSet set) |
| Modifier and Type | Method and Description |
|---|---|
MutableCharSet |
asSynchronized() |
MutableCharSet |
asUnmodifiable() |
LazyIterable<CharCharPair> |
cartesianProduct(CharSet set) |
<V> MutableSet<V> |
collect(CharToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
CharSet |
freeze() |
int |
hashCode() |
MutableCharSet |
newEmpty() |
static UnmodifiableCharSet |
of(MutableCharSet set)
This method will take a MutableCharSet and wrap it directly in a UnmodifiableCharSet.
|
MutableCharSet |
reject(CharPredicate predicate) |
MutableCharSet |
select(CharPredicate predicate) |
ImmutableCharSet |
toImmutable() |
UnmodifiableCharSet |
with(char element) |
UnmodifiableCharSet |
withAll(CharIterable elements) |
UnmodifiableCharSet |
without(char element) |
UnmodifiableCharSet |
withoutAll(CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, 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 UnmodifiableCharSet(MutableCharSet set)
public static UnmodifiableCharSet of(MutableCharSet set)
public UnmodifiableCharSet with(char element)
with in interface MutableCharCollectionwith in interface MutableCharSetwith in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharSet without(char element)
without in interface MutableCharCollectionwithout in interface MutableCharSetwithout in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharSet withAll(CharIterable elements)
withAll in interface MutableCharCollectionwithAll in interface MutableCharSetwithAll in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharSet withoutAll(CharIterable elements)
withoutAll in interface MutableCharCollectionwithoutAll in interface MutableCharSetwithoutAll in class AbstractUnmodifiableCharCollectionpublic MutableCharSet select(CharPredicate predicate)
select in interface CharIterableselect in interface MutableCharCollectionselect in interface CharSetselect in interface MutableCharSetselect in class AbstractUnmodifiableCharCollectionpublic MutableCharSet reject(CharPredicate predicate)
reject in interface CharIterablereject in interface MutableCharCollectionreject in interface CharSetreject in interface MutableCharSetreject in class AbstractUnmodifiableCharCollectionpublic <V> MutableSet<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharIterablecollect in interface MutableCharCollectioncollect in interface CharSetcollect in interface MutableCharSetcollect in class AbstractUnmodifiableCharCollectionpublic LazyIterable<CharCharPair> cartesianProduct(CharSet set)
cartesianProduct in interface CharSetpublic boolean equals(Object otherSet)
public int hashCode()
public MutableCharSet asUnmodifiable()
asUnmodifiable in interface MutableCharCollectionasUnmodifiable in interface MutableCharSetasUnmodifiable in class AbstractUnmodifiableCharCollectionpublic MutableCharSet asSynchronized()
asSynchronized in interface MutableCharCollectionasSynchronized in interface MutableCharSetasSynchronized in class AbstractUnmodifiableCharCollectionpublic CharSet freeze()
freeze in interface CharSetfreeze in interface MutableCharSetpublic ImmutableCharSet toImmutable()
toImmutable in interface MutableCharCollectiontoImmutable in interface CharSettoImmutable in interface MutableCharSettoImmutable in class AbstractUnmodifiableCharCollectionpublic MutableCharSet newEmpty()
newEmpty in interface MutableCharCollectionnewEmpty in interface MutableCharSetCopyright © 2004–2022. All rights reserved.