CharIterable, CharList, ImmutableCharCollection, OrderedCharIterable, PrimitiveIterable, ReversibleCharIterableCharAdapterpublic interface ImmutableCharList extends ImmutableCharCollection, CharList
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableList<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 <V> ImmutableList<V> |
collectWithIndex(CharIntToObjectFunction<? extends V> function) |
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableCharList |
distinct() |
|
ImmutableCharList |
newWith(char element) |
|
ImmutableCharList |
newWithAll(CharIterable elements) |
|
ImmutableCharList |
newWithout(char element) |
|
ImmutableCharList |
newWithoutAll(CharIterable elements) |
|
ImmutableCharList |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
ImmutableCharList |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
ImmutableCharList |
subList(int fromIndex,
int toIndex) |
|
default ImmutableCharList |
tap(CharProcedure procedure) |
|
ImmutableCharList |
toReversed() |
|
default <T> ImmutableList<CharObjectPair<T>> |
zip(Iterable<T> iterable) |
Returns an
ImmutableList formed from this ImmutableCharList and a ListIterable by
combining corresponding elements in pairs. |
default ImmutableList<CharCharPair> |
zipChar(CharIterable iterable) |
Returns an
ImmutableList formed from this ImmutableCharList and another CharList by
combining corresponding elements in pairs. |
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, toSortedListbinarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexImmutableCharList select(CharPredicate predicate)
CharIterableselect in interface CharIterableselect in interface CharListselect in interface ImmutableCharCollectionselect in interface OrderedCharIterableselect in interface ReversibleCharIterableImmutableCharList reject(CharPredicate predicate)
CharIterablereject in interface CharIterablereject in interface CharListreject in interface ImmutableCharCollectionreject in interface OrderedCharIterablereject in interface ReversibleCharIterabledefault ImmutableCharList tap(CharProcedure procedure)
tap in interface CharIterabletap in interface CharListtap in interface ImmutableCharCollection<V> ImmutableList<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterablecollect in interface CharListcollect in interface ImmutableCharCollectioncollect in interface OrderedCharIterablecollect in interface ReversibleCharIterabledefault <V> ImmutableList<V> collectWithIndex(CharIntToObjectFunction<? extends V> function)
collectWithIndex in interface CharListcollectWithIndex in interface OrderedCharIterablecollectWithIndex in interface ReversibleCharIterableImmutableCharList newWith(char element)
newWith in interface ImmutableCharCollectionImmutableCharList newWithout(char element)
newWithout in interface ImmutableCharCollectionImmutableCharList newWithAll(CharIterable elements)
newWithAll in interface ImmutableCharCollectionImmutableCharList newWithoutAll(CharIterable elements)
newWithoutAll in interface ImmutableCharCollectionImmutableCharList toReversed()
toReversed in interface CharListtoReversed in interface ReversibleCharIterableImmutableCharList distinct()
distinct in interface CharListdistinct in interface ReversibleCharIterableImmutableCharList subList(int fromIndex, int toIndex)
subList in interface CharListList.subList(int fromIndex, int toIndex)default ImmutableList<CharCharPair> zipChar(CharIterable iterable)
ImmutableList formed from this ImmutableCharList and another CharList by
combining corresponding elements in pairs. If one of the two CharLists is longer than the other, its
remaining elements are ignored.default <T> ImmutableList<CharObjectPair<T>> zip(Iterable<T> iterable)
ImmutableList formed from this ImmutableCharList and a ListIterable by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.Copyright © 2004–2019. All rights reserved.