public interface CharList extends ReversibleCharIterable
Modifier and Type | Method and Description |
---|---|
int |
binarySearch(char value) |
<V> ListIterable<V> |
collect(CharToObjectFunction<? extends V> function) |
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) |
CharList |
select(CharPredicate predicate) |
CharList |
subList(int fromIndex,
int toIndex) |
ImmutableCharList |
toImmutable()
Returns an immutable copy of this list.
|
CharList |
toReversed() |
asReversed, getLast, injectIntoWithIndex
forEachWithIndex, getFirst, indexOf
allSatisfy, anySatisfy, asLazy, average, charIterator, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
char get(int index)
long dotProduct(CharList list)
int binarySearch(char value)
int lastIndexOf(char value)
CharList select(CharPredicate predicate)
select
in interface CharIterable
select
in interface OrderedCharIterable
select
in interface ReversibleCharIterable
CharList reject(CharPredicate predicate)
reject
in interface CharIterable
reject
in interface OrderedCharIterable
reject
in interface ReversibleCharIterable
<V> ListIterable<V> collect(CharToObjectFunction<? extends V> function)
collect
in interface CharIterable
collect
in interface OrderedCharIterable
collect
in interface ReversibleCharIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableCharList toImmutable()
CharList distinct()
distinct
in interface ReversibleCharIterable
CharList toReversed()
toReversed
in interface ReversibleCharIterable
CharList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.