public interface MutableByteList extends MutableByteCollection, ByteList
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
byte... source) |
boolean |
addAllAtIndex(int index,
ByteIterable source) |
void |
addAtIndex(int index,
byte element) |
MutableByteList |
asSynchronized() |
MutableByteList |
asUnmodifiable() |
<V> MutableList<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> MutableList<V> |
collectWithIndex(ByteIntToObjectFunction<? extends V> function)
Returns a new MutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
MutableByteList |
distinct() |
default MutableByteList |
newEmpty()
Creates a new empty mutable version of the same List type.
|
MutableByteList |
reject(BytePredicate predicate)
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
byte |
removeAtIndex(int index) |
MutableByteList |
reverseThis() |
MutableByteList |
select(BytePredicate predicate)
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
byte |
set(int index,
byte element) |
MutableByteList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableByteList |
subList(int fromIndex,
int toIndex) |
default MutableByteList |
tap(ByteProcedure procedure) |
ImmutableByteList |
toImmutable()
Returns an immutable copy of this list.
|
MutableByteList |
toReversed() |
MutableByteList |
with(byte element) |
MutableByteList |
withAll(ByteIterable elements) |
MutableByteList |
without(byte element) |
MutableByteList |
withoutAll(ByteIterable elements) |
default <T> MutableList<ByteObjectPair<T>> |
zip(Iterable<T> list)
Returns a
MutableList formed from this MutableByteList and a ListIterable by
combining corresponding elements in pairs. |
default MutableList<ByteBytePair> |
zipByte(ByteIterable iterable)
Returns a
MutableList formed from this MutableByteList and another ByteList by
combining corresponding elements in pairs. |
add, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllbinarySearch, dotProduct, equals, get, hashCode, lastIndexOfasReversed, getLast, injectIntoWithIndexcollectWithIndex, forEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid addAtIndex(int index,
byte element)
boolean addAllAtIndex(int index,
byte... source)
boolean addAllAtIndex(int index,
ByteIterable source)
byte removeAtIndex(int index)
byte set(int index,
byte element)
MutableByteList select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableselect in interface ByteListselect in interface MutableByteCollectionselect in interface OrderedByteIterableselect in interface ReversibleByteIterableMutableByteList reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterablereject in interface ByteListreject in interface MutableByteCollectionreject in interface OrderedByteIterablereject in interface ReversibleByteIterableMutableByteList with(byte element)
with in interface MutableByteCollectionMutableByteList without(byte element)
without in interface MutableByteCollectionMutableByteList withAll(ByteIterable elements)
withAll in interface MutableByteCollectionMutableByteList withoutAll(ByteIterable elements)
withoutAll in interface MutableByteCollectiondefault MutableByteList tap(ByteProcedure procedure)
tap in interface ByteIterabletap in interface ByteListtap in interface MutableByteCollection<V> MutableList<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterablecollect in interface ByteListcollect in interface MutableByteCollectioncollect in interface OrderedByteIterablecollect in interface ReversibleByteIterabledefault <V> MutableList<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)
collectWithIndex in interface ByteListcollectWithIndex in interface OrderedByteIterablecollectWithIndex in interface ReversibleByteIterableMutableByteList reverseThis()
MutableByteList toReversed()
toReversed in interface ByteListtoReversed in interface ReversibleByteIterableMutableByteList distinct()
distinct in interface ByteListdistinct in interface ReversibleByteIterableMutableByteList sortThis()
MutableByteList asUnmodifiable()
asUnmodifiable in interface MutableByteCollectionMutableByteList asSynchronized()
asSynchronized in interface MutableByteCollectionImmutableByteList toImmutable()
toImmutable in interface ByteListtoImmutable in interface MutableByteCollectionMutableByteList subList(int fromIndex, int toIndex)
subList in interface ByteListList.subList(int fromIndex, int toIndex)default MutableList<ByteBytePair> zipByte(ByteIterable iterable)
MutableList formed from this MutableByteList 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> MutableList<ByteObjectPair<T>> zip(Iterable<T> list)
MutableList formed from this MutableByteList 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.default MutableByteList newEmpty()
newEmpty in interface MutableByteCollectionCopyright © 2004–2018. All rights reserved.