public interface ShortList extends ReversibleShortIterable
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
collect(ShortToObjectFunction<? extends V> function) |
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, forEachWithIndex, getFirst, getLast, indexOf, injectIntoWithIndexallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, shortIterator, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringshort get(int index)
long dotProduct(ShortList list)
int lastIndexOf(short value)
ShortList select(ShortPredicate predicate)
select in interface ReversibleShortIterableselect in interface ShortIterableShortList reject(ShortPredicate predicate)
reject in interface ReversibleShortIterablereject in interface ShortIterable<V> ListIterable<V> collect(ShortToObjectFunction<? extends V> function)
collect in interface ReversibleShortIterablecollect in interface ShortIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableShortList toImmutable()
ShortList toReversed()
toReversed in interface ReversibleShortIterableShortList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}Copyright © 2004–2017. All rights reserved.