public interface ByteList extends ReversibleByteIterable
Modifier and Type | Method and Description |
---|---|
int |
binarySearch(byte value) |
<V> ListIterable<V> |
collect(ByteToObjectFunction<? extends V> function) |
ByteList |
distinct() |
long |
dotProduct(ByteList list) |
boolean |
equals(Object o)
Follows the same general contract as
List.equals(Object) . |
byte |
get(int index) |
int |
hashCode()
Follows the same general contract as
List.hashCode() . |
int |
lastIndexOf(byte value) |
ByteList |
reject(BytePredicate predicate) |
ByteList |
select(BytePredicate predicate) |
ByteList |
subList(int fromIndex,
int toIndex) |
ImmutableByteList |
toImmutable()
Returns an immutable copy of this list.
|
ByteList |
toReversed() |
asReversed, getLast, injectIntoWithIndex
forEachWithIndex, getFirst, indexOf
allSatisfy, anySatisfy, asLazy, average, byteIterator, 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
byte get(int index)
long dotProduct(ByteList list)
int binarySearch(byte value)
int lastIndexOf(byte value)
ByteList select(BytePredicate predicate)
select
in interface ByteIterable
select
in interface OrderedByteIterable
select
in interface ReversibleByteIterable
ByteList reject(BytePredicate predicate)
reject
in interface ByteIterable
reject
in interface OrderedByteIterable
reject
in interface ReversibleByteIterable
<V> ListIterable<V> collect(ByteToObjectFunction<? extends V> function)
collect
in interface ByteIterable
collect
in interface OrderedByteIterable
collect
in interface ReversibleByteIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableByteList toImmutable()
ByteList distinct()
distinct
in interface ReversibleByteIterable
ByteList toReversed()
toReversed
in interface ReversibleByteIterable
ByteList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.