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