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 |
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 |
tap(CharProcedure procedure) |
default ImmutableCharSet |
union(CharSet set) |
equals, freeze, hashCode, toImmutableallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, 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, toSortedListappendString, 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].ImmutableCharSet 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–2020. All rights reserved.