ByteIterable, OrderedByteIterable, PrimitiveIterable, ReversibleByteIterableImmutableByteList, MutableByteListByteArrayList, SynchronizedByteList, UnmodifiableByteListpublic interface ByteList extends ReversibleByteIterable
| Modifier and Type | Method | Description |
|---|---|---|
int |
binarySearch(byte value) |
|
<V> ListIterable<V> |
collect(ByteToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
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) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
ByteList |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
ByteList |
subList(int fromIndex,
int toIndex) |
|
ImmutableByteList |
toImmutable() |
Returns an immutable copy of this list.
|
ByteList |
toReversed() |
allSatisfy, anySatisfy, asLazy, average, byteIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListforEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexbyte get(int index)
long dotProduct(ByteList list)
int binarySearch(byte value)
int lastIndexOf(byte value)
ByteList select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableselect in interface OrderedByteIterableselect in interface ReversibleByteIterableByteList reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterablereject in interface OrderedByteIterablereject in interface ReversibleByteIterable<V> ListIterable<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterablecollect in interface OrderedByteIterablecollect in interface ReversibleByteIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableByteList toImmutable()
ByteList distinct()
distinct in interface ReversibleByteIterableByteList toReversed()
toReversed in interface ReversibleByteIterableByteList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.