CharIterable, PrimitiveIterableImmutableCharBag, ImmutableCharList, ImmutableCharSetAbstractImmutableCharSet, CharAdapterpublic 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString<V> ImmutableCollection<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterabledefault ImmutableCharCollection tap(CharProcedure procedure)
tap in interface CharIterableImmutableCharCollection select(CharPredicate predicate)
CharIterableselect in interface CharIterableImmutableCharCollection reject(CharPredicate predicate)
CharIterablereject in interface CharIterableImmutableCharCollection newWith(char element)
ImmutableCharCollection newWithout(char element)
ImmutableCharCollection newWithAll(CharIterable elements)
ImmutableCharCollection newWithoutAll(CharIterable elements)
Copyright © 2004–2017. All rights reserved.