@ThreadSafe public final class SynchronizedByteList extends AbstractSynchronizedByteCollection implements org.eclipse.collections.api.list.primitive.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 Form| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
byte... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.ByteIterable source) |
void |
addAtIndex(int index,
byte element) |
org.eclipse.collections.api.LazyByteIterable |
asLazy() |
org.eclipse.collections.api.LazyByteIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableByteList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableByteList |
asUnmodifiable() |
int |
binarySearch(byte value) |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableByteList |
distinct() |
long |
dotProduct(org.eclipse.collections.api.list.primitive.ByteList list) |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ByteIntProcedure procedure) |
byte |
get(int index) |
byte |
getFirst() |
byte |
getLast() |
int |
hashCode() |
int |
indexOf(byte value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(byte value) |
org.eclipse.collections.api.list.primitive.MutableByteList |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableByteList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableByteList |
select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
set(int index,
byte element) |
org.eclipse.collections.api.list.primitive.MutableByteList |
sortThis() |
org.eclipse.collections.api.list.primitive.MutableByteList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableByteList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toReversed() |
SynchronizedByteList |
with(byte element) |
SynchronizedByteList |
withAll(org.eclipse.collections.api.ByteIterable elements) |
SynchronizedByteList |
without(byte element) |
SynchronizedByteList |
withoutAll(org.eclipse.collections.api.ByteIterable elements) |
add, 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, toStringadd, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic byte get(int index)
get in interface org.eclipse.collections.api.list.primitive.ByteListpublic byte getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterablepublic byte getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablepublic int indexOf(byte value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterablepublic int lastIndexOf(byte value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.ByteListpublic void addAtIndex(int index,
byte element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic boolean addAllAtIndex(int index,
byte... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.ByteIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic byte removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic byte set(int index,
byte element)
set in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic SynchronizedByteList with(byte element)
with in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableByteListwith in class AbstractSynchronizedByteCollectionpublic SynchronizedByteList without(byte element)
without in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableByteListwithout in class AbstractSynchronizedByteCollectionpublic SynchronizedByteList withAll(org.eclipse.collections.api.ByteIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableByteListwithAll in class AbstractSynchronizedByteCollectionpublic SynchronizedByteList withoutAll(org.eclipse.collections.api.ByteIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableByteListwithoutAll in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.MutableByteList select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface org.eclipse.collections.api.ByteIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionselect in interface org.eclipse.collections.api.list.primitive.ByteListselect in interface org.eclipse.collections.api.list.primitive.MutableByteListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterableselect in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.MutableByteList reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface org.eclipse.collections.api.ByteIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionreject in interface org.eclipse.collections.api.list.primitive.ByteListreject in interface org.eclipse.collections.api.list.primitive.MutableByteListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablereject in class AbstractSynchronizedByteCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectioncollect in interface org.eclipse.collections.api.list.primitive.ByteListcollect in interface org.eclipse.collections.api.list.primitive.MutableByteListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablecollect in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.MutableByteList sortThis()
sortThis in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic int binarySearch(byte value)
binarySearch in interface org.eclipse.collections.api.list.primitive.ByteListpublic long dotProduct(org.eclipse.collections.api.list.primitive.ByteList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.ByteListpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.LazyByteIterable asLazy()
asLazy in interface org.eclipse.collections.api.ByteIterableasLazy in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.MutableByteList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableByteListasUnmodifiable in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.MutableByteList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableByteListasSynchronized in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableByteList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.ByteListtoImmutable in interface org.eclipse.collections.api.list.primitive.MutableByteListtoImmutable in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.list.primitive.MutableByteList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableByteListpublic org.eclipse.collections.api.list.primitive.MutableByteList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.ByteListtoReversed in interface org.eclipse.collections.api.list.primitive.MutableByteListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablepublic org.eclipse.collections.api.LazyByteIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ByteIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedByteIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.ByteListdistinct in interface org.eclipse.collections.api.list.primitive.MutableByteListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleByteIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.ByteListsubList in interface org.eclipse.collections.api.list.primitive.MutableByteListCopyright © 2004–2018. All rights reserved.