CharIterable, OrderedCharIterable, PrimitiveIterable, ReversibleCharIterableImmutableCharList, MutableCharListCharAdapter, CharArrayList, SynchronizedCharList, UnmodifiableCharListpublic interface CharList extends ReversibleCharIterable
| Modifier and Type | Method | Description |
|---|---|---|
int |
binarySearch(char value) |
|
<V> ListIterable<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.
|
CharList |
distinct() |
|
long |
dotProduct(CharList list) |
|
boolean |
equals(Object o) |
Follows the same general contract as
List.equals(Object). |
char |
get(int index) |
|
int |
hashCode() |
Follows the same general contract as
List.hashCode(). |
int |
lastIndexOf(char value) |
|
CharList |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
CharList |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
CharList |
subList(int fromIndex,
int toIndex) |
|
ImmutableCharList |
toImmutable() |
Returns an immutable copy of this list.
|
CharList |
toReversed() |
allSatisfy, anySatisfy, asLazy, average, charIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListforEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexchar get(int index)
long dotProduct(CharList list)
int binarySearch(char value)
int lastIndexOf(char value)
CharList select(CharPredicate predicate)
CharIterableselect in interface CharIterableselect in interface OrderedCharIterableselect in interface ReversibleCharIterableCharList reject(CharPredicate predicate)
CharIterablereject in interface CharIterablereject in interface OrderedCharIterablereject in interface ReversibleCharIterable<V> ListIterable<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterablecollect in interface OrderedCharIterablecollect in interface ReversibleCharIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableCharList toImmutable()
CharList distinct()
distinct in interface ReversibleCharIterableCharList toReversed()
toReversed in interface ReversibleCharIterableCharList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.