CharIterable
, PrimitiveIterable
ImmutableCharBag
, ImmutableCharList
, ImmutableCharSet
AbstractImmutableCharSet
, CharAdapter
public interface ImmutableCharCollection extends CharIterable
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableCollection<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.
|
ImmutableCharCollection |
newWith(char element) |
|
ImmutableCharCollection |
newWithAll(CharIterable elements) |
|
ImmutableCharCollection |
newWithout(char element) |
|
ImmutableCharCollection |
newWithoutAll(CharIterable elements) |
|
ImmutableCharCollection |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
ImmutableCharCollection |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default ImmutableCharCollection |
tap(CharProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
<V> ImmutableCollection<V> collect(CharToObjectFunction<? extends V> function)
CharIterable
collect
in interface CharIterable
default ImmutableCharCollection tap(CharProcedure procedure)
tap
in interface CharIterable
ImmutableCharCollection select(CharPredicate predicate)
CharIterable
select
in interface CharIterable
ImmutableCharCollection reject(CharPredicate predicate)
CharIterable
reject
in interface CharIterable
ImmutableCharCollection newWith(char element)
ImmutableCharCollection newWithout(char element)
ImmutableCharCollection newWithAll(CharIterable elements)
ImmutableCharCollection newWithoutAll(CharIterable elements)
Copyright © 2004–2017. All rights reserved.