public interface IntList extends ReversibleIntIterable
Modifier and Type | Method and Description |
---|---|
int |
binarySearch(int value) |
<V> ListIterable<V> |
collect(IntToObjectFunction<? extends V> function) |
IntList |
distinct() |
long |
dotProduct(IntList list) |
boolean |
equals(Object o)
Follows the same general contract as
List.equals(Object) . |
int |
get(int index) |
int |
hashCode()
Follows the same general contract as
List.hashCode() . |
int |
lastIndexOf(int value) |
IntList |
reject(IntPredicate predicate) |
IntList |
select(IntPredicate predicate) |
IntList |
subList(int fromIndex,
int toIndex) |
ImmutableIntList |
toImmutable()
Returns an immutable copy of this list.
|
IntList |
toReversed() |
asReversed, getLast, injectIntoWithIndex
forEachWithIndex, getFirst, indexOf
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, intIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
int get(int index)
long dotProduct(IntList list)
int binarySearch(int value)
int lastIndexOf(int value)
IntList select(IntPredicate predicate)
select
in interface IntIterable
select
in interface OrderedIntIterable
select
in interface ReversibleIntIterable
IntList reject(IntPredicate predicate)
reject
in interface IntIterable
reject
in interface OrderedIntIterable
reject
in interface ReversibleIntIterable
<V> ListIterable<V> collect(IntToObjectFunction<? extends V> function)
collect
in interface IntIterable
collect
in interface OrderedIntIterable
collect
in interface ReversibleIntIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableIntList toImmutable()
IntList distinct()
distinct
in interface ReversibleIntIterable
IntList toReversed()
toReversed
in interface ReversibleIntIterable
IntList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.