public interface ImmutableCharSet extends ImmutableCharCollection, CharSet
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableSet<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 ImmutableCharSet |
difference(CharSet set)
Returns the set of all members of
this that are not members of set. |
default ImmutableCharSet |
intersect(CharSet set)
Returns the set of all objects that are members of both
this and set. |
ImmutableCharSet |
newWith(char element) |
ImmutableCharSet |
newWithAll(CharIterable elements) |
ImmutableCharSet |
newWithout(char element) |
ImmutableCharSet |
newWithoutAll(CharIterable elements) |
ImmutableCharSet |
reject(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
ImmutableCharSet |
select(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default ImmutableCharSet |
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 ImmutableCharSet |
tap(CharProcedure procedure) |
default ImmutableCharSet |
union(CharSet set) |
cartesianProduct, equals, freeze, hashCode, isProperSubsetOf, isSubsetOf, toImmutableallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, 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, toStringImmutableCharSet select(CharPredicate predicate)
CharIterableselect in interface CharIterableselect in interface CharSetselect in interface ImmutableCharCollectionImmutableCharSet reject(CharPredicate predicate)
CharIterablereject in interface CharIterablereject in interface CharSetreject in interface ImmutableCharCollectiondefault ImmutableCharSet tap(CharProcedure procedure)
tap in interface CharIterabletap in interface CharSettap in interface ImmutableCharCollection<V> ImmutableSet<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterablecollect in interface CharSetcollect in interface ImmutableCharCollectiondefault ImmutableCharSet union(CharSet set)
default ImmutableCharSet intersect(CharSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].default ImmutableCharSet 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 ImmutableCharSet 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 CharSetImmutableCharSet newWith(char element)
newWith in interface ImmutableCharCollectionImmutableCharSet newWithout(char element)
newWithout in interface ImmutableCharCollectionImmutableCharSet newWithAll(CharIterable elements)
newWithAll in interface ImmutableCharCollectionImmutableCharSet newWithoutAll(CharIterable elements)
newWithoutAll in interface ImmutableCharCollectionCopyright © 2004–2023. All rights reserved.