@ThreadSafe public final class SynchronizedByteList extends AbstractSynchronizedByteCollection implements MutableByteList
MutableByteList
. It is imperative that the user manually synchronize on the collection when iterating over it using the
ByteIterator
, as per Collections.synchronizedCollection(Collection)
.
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableByteList.asSynchronized()
,
MutableList.asSynchronized()
,
Serialized Formadd, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, byteIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
add, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAll
allSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public byte getFirst()
getFirst
in interface OrderedByteIterable
public byte getLast()
getLast
in interface ReversibleByteIterable
public int indexOf(byte value)
indexOf
in interface OrderedByteIterable
public int lastIndexOf(byte value)
lastIndexOf
in interface ByteList
public void addAtIndex(int index, byte element)
addAtIndex
in interface MutableByteList
public boolean addAllAtIndex(int index, byte... source)
addAllAtIndex
in interface MutableByteList
public boolean addAllAtIndex(int index, ByteIterable source)
addAllAtIndex
in interface MutableByteList
public byte removeAtIndex(int index)
removeAtIndex
in interface MutableByteList
public byte set(int index, byte element)
set
in interface MutableByteList
public SynchronizedByteList with(byte element)
with
in interface MutableByteCollection
with
in interface MutableByteList
with
in class AbstractSynchronizedByteCollection
public SynchronizedByteList without(byte element)
without
in interface MutableByteCollection
without
in interface MutableByteList
without
in class AbstractSynchronizedByteCollection
public SynchronizedByteList withAll(ByteIterable elements)
withAll
in interface MutableByteCollection
withAll
in interface MutableByteList
withAll
in class AbstractSynchronizedByteCollection
public SynchronizedByteList withoutAll(ByteIterable elements)
withoutAll
in interface MutableByteCollection
withoutAll
in interface MutableByteList
withoutAll
in class AbstractSynchronizedByteCollection
public MutableByteList select(BytePredicate predicate)
select
in interface ByteIterable
select
in interface MutableByteCollection
select
in interface ByteList
select
in interface MutableByteList
select
in interface OrderedByteIterable
select
in interface ReversibleByteIterable
select
in class AbstractSynchronizedByteCollection
public MutableByteList reject(BytePredicate predicate)
reject
in interface ByteIterable
reject
in interface MutableByteCollection
reject
in interface ByteList
reject
in interface MutableByteList
reject
in interface OrderedByteIterable
reject
in interface ReversibleByteIterable
reject
in class AbstractSynchronizedByteCollection
public <V> MutableList<V> collect(ByteToObjectFunction<? extends V> function)
collect
in interface ByteIterable
collect
in interface MutableByteCollection
collect
in interface ByteList
collect
in interface MutableByteList
collect
in interface OrderedByteIterable
collect
in interface ReversibleByteIterable
collect
in class AbstractSynchronizedByteCollection
public MutableByteList sortThis()
MutableByteList
sortThis
in interface MutableByteList
public int binarySearch(byte value)
binarySearch
in interface ByteList
public long dotProduct(ByteList list)
dotProduct
in interface ByteList
public boolean equals(Object otherList)
ByteList
List.equals(Object)
.public int hashCode()
ByteList
List.hashCode()
.public LazyByteIterable asLazy()
asLazy
in interface ByteIterable
asLazy
in class AbstractSynchronizedByteCollection
public MutableByteList asUnmodifiable()
asUnmodifiable
in interface MutableByteCollection
asUnmodifiable
in interface MutableByteList
asUnmodifiable
in class AbstractSynchronizedByteCollection
public MutableByteList asSynchronized()
asSynchronized
in interface MutableByteCollection
asSynchronized
in interface MutableByteList
asSynchronized
in class AbstractSynchronizedByteCollection
public ImmutableByteList toImmutable()
MutableByteList
toImmutable
in interface MutableByteCollection
toImmutable
in interface ByteList
toImmutable
in interface MutableByteList
toImmutable
in class AbstractSynchronizedByteCollection
public MutableByteList reverseThis()
reverseThis
in interface MutableByteList
public MutableByteList toReversed()
toReversed
in interface ByteList
toReversed
in interface MutableByteList
toReversed
in interface ReversibleByteIterable
public LazyByteIterable asReversed()
asReversed
in interface ReversibleByteIterable
public void forEachWithIndex(ByteIntProcedure procedure)
forEachWithIndex
in interface OrderedByteIterable
public <T> T injectIntoWithIndex(T injectedValue, ObjectByteIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface OrderedByteIterable
injectIntoWithIndex
in interface ReversibleByteIterable
public MutableByteList distinct()
distinct
in interface ByteList
distinct
in interface MutableByteList
distinct
in interface ReversibleByteIterable
public MutableByteList subList(int fromIndex, int toIndex)
subList
in interface ByteList
subList
in interface MutableByteList
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.