ByteIterable, ByteList, ImmutableByteCollection, OrderedByteIterable, PrimitiveIterable, ReversibleByteIterablepublic interface ImmutableByteList extends ImmutableByteCollection, ByteList
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableList<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.
|
default <V> ImmutableList<V> |
collectWithIndex(ByteIntToObjectFunction<? extends V> function) |
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableByteList |
distinct() |
|
ImmutableByteList |
newWith(byte element) |
|
ImmutableByteList |
newWithAll(ByteIterable elements) |
|
ImmutableByteList |
newWithout(byte element) |
|
ImmutableByteList |
newWithoutAll(ByteIterable elements) |
|
ImmutableByteList |
reject(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
ImmutableByteList |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
ImmutableByteList |
subList(int fromIndex,
int toIndex) |
|
default ImmutableByteList |
tap(ByteProcedure procedure) |
|
ImmutableByteList |
toReversed() |
|
default <T> ImmutableList<ByteObjectPair<T>> |
zip(java.lang.Iterable<T> iterable) |
Returns an
ImmutableList formed from this ImmutableByteList and a ListIterable by
combining corresponding elements in pairs. |
default ImmutableList<ByteBytePair> |
zipByte(ByteIterable iterable) |
Returns an
ImmutableList formed from this ImmutableByteList and another ByteList by
combining corresponding elements in pairs. |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, byteIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListbinarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexImmutableByteList select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableselect in interface ByteListselect in interface ImmutableByteCollectionselect in interface OrderedByteIterableselect in interface ReversibleByteIterableImmutableByteList reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterablereject in interface ByteListreject in interface ImmutableByteCollectionreject in interface OrderedByteIterablereject in interface ReversibleByteIterabledefault ImmutableByteList tap(ByteProcedure procedure)
tap in interface ByteIterabletap in interface ByteListtap in interface ImmutableByteCollection<V> ImmutableList<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterablecollect in interface ByteListcollect in interface ImmutableByteCollectioncollect in interface OrderedByteIterablecollect in interface ReversibleByteIterabledefault <V> ImmutableList<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)
collectWithIndex in interface ByteListcollectWithIndex in interface OrderedByteIterablecollectWithIndex in interface ReversibleByteIterableImmutableByteList newWith(byte element)
newWith in interface ImmutableByteCollectionImmutableByteList newWithout(byte element)
newWithout in interface ImmutableByteCollectionImmutableByteList newWithAll(ByteIterable elements)
newWithAll in interface ImmutableByteCollectionImmutableByteList newWithoutAll(ByteIterable elements)
newWithoutAll in interface ImmutableByteCollectionImmutableByteList toReversed()
toReversed in interface ByteListtoReversed in interface ReversibleByteIterableImmutableByteList distinct()
distinct in interface ByteListdistinct in interface ReversibleByteIterableImmutableByteList subList(int fromIndex, int toIndex)
default ImmutableList<ByteBytePair> zipByte(ByteIterable iterable)
ImmutableList formed from this ImmutableByteList and another ByteList by
combining corresponding elements in pairs. If one of the two ByteLists is longer than the other, its
remaining elements are ignored.default <T> ImmutableList<ByteObjectPair<T>> zip(java.lang.Iterable<T> iterable)
ImmutableList formed from this ImmutableByteList and a ListIterable by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.Copyright © 2004–2020. All rights reserved.