public interface MutableCharSet extends MutableCharCollection, CharSet
| Modifier and Type | Method and Description |
|---|---|
MutableCharSet |
asSynchronized() |
MutableCharSet |
asUnmodifiable() |
<V> MutableSet<V> |
collect(CharToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default MutableCharSet |
difference(CharSet set)
Returns the set of all members of
this that are not members of set. |
CharSet |
freeze()
Returns a frozen copy of this set.
|
default MutableCharSet |
intersect(CharSet set)
Returns the set of all objects that are members of both
this and set. |
default MutableCharSet |
newEmpty()
Creates a new empty mutable version of the same Set type.
|
MutableCharSet |
reject(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
MutableCharSet |
select(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default MutableCharSet |
symmetricDifference(CharSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default MutableCharSet |
tap(CharProcedure procedure) |
ImmutableCharSet |
toImmutable()
Returns an immutable copy of this set.
|
default MutableCharSet |
union(CharSet set) |
MutableCharSet |
with(char element) |
MutableCharSet |
withAll(CharIterable elements) |
MutableCharSet |
without(char element) |
MutableCharSet |
withoutAll(CharIterable elements) |
add, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllcartesianProduct, equals, hashCode, isProperSubsetOf, 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, 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, toStringMutableCharSet select(CharPredicate predicate)
CharIterableselect in interface CharIterableselect in interface CharSetselect in interface MutableCharCollectionMutableCharSet reject(CharPredicate predicate)
CharIterablereject in interface CharIterablereject in interface CharSetreject in interface MutableCharCollectiondefault MutableCharSet tap(CharProcedure procedure)
tap in interface CharIterabletap in interface CharSettap in interface MutableCharCollection<V> MutableSet<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterablecollect in interface CharSetcollect in interface MutableCharCollectionMutableCharSet with(char element)
with in interface MutableCharCollectionMutableCharSet without(char element)
without in interface MutableCharCollectionMutableCharSet withAll(CharIterable elements)
withAll in interface MutableCharCollectionMutableCharSet withoutAll(CharIterable elements)
withoutAll in interface MutableCharCollectionMutableCharSet asUnmodifiable()
asUnmodifiable in interface MutableCharCollectionMutableCharSet asSynchronized()
asSynchronized in interface MutableCharCollectionCharSet freeze()
ImmutableCharSet toImmutable()
toImmutable in interface CharSettoImmutable in interface MutableCharCollectiondefault MutableCharSet newEmpty()
newEmpty in interface MutableCharCollectiondefault MutableCharSet union(CharSet set)
default MutableCharSet intersect(CharSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].default MutableCharSet difference(CharSet set)
this that are not members of set. The difference of
[1, 2, 3] and [2, 3, 4] is [1].difference in interface CharSetdefault MutableCharSet symmetricDifference(CharSet set)
this and set (elements which
are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric
difference set is [1, 4] . It is the set difference of the union and the intersection.symmetricDifference in interface CharSetCopyright © 2004–2021. All rights reserved.