public interface ByteList extends ReversibleByteIterable
Modifier and Type | Method and Description |
---|---|
<V> ListIterable<V> |
collect(ByteToObjectFunction<? extends V> function) |
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, forEachWithIndex, getFirst, getLast, indexOf, injectIntoWithIndex
allSatisfy, anySatisfy, asLazy, average, byteIterator, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, 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 lastIndexOf(byte value)
ByteList select(BytePredicate predicate)
select
in interface ByteIterable
select
in interface ReversibleByteIterable
ByteList reject(BytePredicate predicate)
reject
in interface ByteIterable
reject
in interface ReversibleByteIterable
<V> ListIterable<V> collect(ByteToObjectFunction<? extends V> function)
collect
in interface ByteIterable
collect
in interface ReversibleByteIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableByteList toImmutable()
ByteList toReversed()
toReversed
in interface ReversibleByteIterable
ByteList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2018. All rights reserved.