ByteIterable
, ByteList
, MutableByteCollection
, OrderedByteIterable
, PrimitiveIterable
, ReversibleByteIterable
ByteArrayList
, SynchronizedByteList
, UnmodifiableByteList
public interface MutableByteList extends MutableByteCollection, ByteList
Modifier and Type | Method | 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.
|
MutableByteList |
distinct() |
|
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) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf
add, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAll
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
void 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)
ByteIterable
select
in interface ByteIterable
select
in interface ByteList
select
in interface MutableByteCollection
select
in interface OrderedByteIterable
select
in interface ReversibleByteIterable
MutableByteList reject(BytePredicate predicate)
ByteIterable
reject
in interface ByteIterable
reject
in interface ByteList
reject
in interface MutableByteCollection
reject
in interface OrderedByteIterable
reject
in interface ReversibleByteIterable
MutableByteList with(byte element)
with
in interface MutableByteCollection
MutableByteList without(byte element)
without
in interface MutableByteCollection
MutableByteList withAll(ByteIterable elements)
withAll
in interface MutableByteCollection
MutableByteList withoutAll(ByteIterable elements)
withoutAll
in interface MutableByteCollection
default MutableByteList tap(ByteProcedure procedure)
tap
in interface ByteIterable
tap
in interface ByteList
tap
in interface MutableByteCollection
<V> MutableList<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterable
collect
in interface ByteIterable
collect
in interface ByteList
collect
in interface MutableByteCollection
collect
in interface OrderedByteIterable
collect
in interface ReversibleByteIterable
MutableByteList reverseThis()
MutableByteList toReversed()
toReversed
in interface ByteList
toReversed
in interface ReversibleByteIterable
MutableByteList distinct()
distinct
in interface ByteList
distinct
in interface ReversibleByteIterable
MutableByteList sortThis()
MutableByteList asUnmodifiable()
asUnmodifiable
in interface MutableByteCollection
MutableByteList asSynchronized()
asSynchronized
in interface MutableByteCollection
ImmutableByteList toImmutable()
toImmutable
in interface ByteList
toImmutable
in interface MutableByteCollection
MutableByteList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.