CharIterable
, CharSet
, ImmutableCharCollection
, PrimitiveIterable
AbstractImmutableCharSet
public interface ImmutableCharSet extends ImmutableCharCollection, CharSet
Modifier and Type | Method | 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.
|
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) |
allSatisfy, 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, toBag, toList, toSet, toSortedArray, toSortedList
equals, freeze, hashCode, toImmutable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableCharSet select(CharPredicate predicate)
CharIterable
select
in interface CharIterable
select
in interface CharSet
select
in interface ImmutableCharCollection
ImmutableCharSet reject(CharPredicate predicate)
CharIterable
reject
in interface CharIterable
reject
in interface CharSet
reject
in interface ImmutableCharCollection
default ImmutableCharSet tap(CharProcedure procedure)
tap
in interface CharIterable
tap
in interface CharSet
tap
in interface ImmutableCharCollection
<V> ImmutableSet<V> collect(CharToObjectFunction<? extends V> function)
CharIterable
collect
in interface CharIterable
collect
in interface CharSet
collect
in interface ImmutableCharCollection
ImmutableCharSet newWith(char element)
newWith
in interface ImmutableCharCollection
ImmutableCharSet newWithout(char element)
newWithout
in interface ImmutableCharCollection
ImmutableCharSet newWithAll(CharIterable elements)
newWithAll
in interface ImmutableCharCollection
ImmutableCharSet newWithoutAll(CharIterable elements)
newWithoutAll
in interface ImmutableCharCollection
Copyright © 2004–2019. All rights reserved.