@ThreadSafe public final class SynchronizedByteList extends AbstractSynchronizedByteCollection implements com.gs.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,
com.gs.collections.api.ByteIterable source) |
void |
addAtIndex(int index,
byte element) |
com.gs.collections.api.LazyByteIterable |
asLazy() |
com.gs.collections.api.list.primitive.MutableByteList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableByteList |
asUnmodifiable() |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
long |
dotProduct(com.gs.collections.api.list.primitive.ByteList list) |
boolean |
equals(java.lang.Object otherList)
Follows the same general contract as
List.equals(Object). |
byte |
get(int index) |
byte |
getFirst() |
byte |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
indexOf(byte value) |
int |
lastIndexOf(byte value) |
com.gs.collections.api.list.primitive.MutableByteList |
reject(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
removeAtIndex(int index) |
com.gs.collections.api.list.primitive.MutableByteList |
reverseThis() |
com.gs.collections.api.list.primitive.MutableByteList |
select(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
set(int index,
byte element) |
com.gs.collections.api.list.primitive.MutableByteList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
com.gs.collections.api.list.primitive.ImmutableByteList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableByteList |
toReversed() |
SynchronizedByteList |
with(byte element) |
SynchronizedByteList |
withAll(com.gs.collections.api.ByteIterable elements) |
SynchronizedByteList |
without(byte element) |
SynchronizedByteList |
withoutAll(com.gs.collections.api.ByteIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, byteIterator, clear, contains, containsAll, containsAll, count, detectIfNone, forEach, getByteCollection, getLock, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAllallSatisfy, anySatisfy, average, byteIterator, contains, containsAll, containsAll, count, detectIfNone, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic byte get(int index)
get in interface com.gs.collections.api.list.primitive.ByteListpublic byte getFirst()
getFirst in interface com.gs.collections.api.list.primitive.ByteListpublic byte getLast()
getLast in interface com.gs.collections.api.list.primitive.ByteListpublic int indexOf(byte value)
indexOf in interface com.gs.collections.api.list.primitive.ByteListpublic int lastIndexOf(byte value)
lastIndexOf in interface com.gs.collections.api.list.primitive.ByteListpublic void addAtIndex(int index,
byte element)
addAtIndex in interface com.gs.collections.api.list.primitive.MutableByteListpublic boolean addAllAtIndex(int index,
byte... source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableByteListpublic boolean addAllAtIndex(int index,
com.gs.collections.api.ByteIterable source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableByteListpublic byte removeAtIndex(int index)
removeAtIndex in interface com.gs.collections.api.list.primitive.MutableByteListpublic byte set(int index,
byte element)
set in interface com.gs.collections.api.list.primitive.MutableByteListpublic SynchronizedByteList with(byte element)
with in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwith in interface com.gs.collections.api.list.primitive.MutableByteListwith in class AbstractSynchronizedByteCollectionpublic SynchronizedByteList without(byte element)
without in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithout in interface com.gs.collections.api.list.primitive.MutableByteListwithout in class AbstractSynchronizedByteCollectionpublic SynchronizedByteList withAll(com.gs.collections.api.ByteIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithAll in interface com.gs.collections.api.list.primitive.MutableByteListwithAll in class AbstractSynchronizedByteCollectionpublic SynchronizedByteList withoutAll(com.gs.collections.api.ByteIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithoutAll in interface com.gs.collections.api.list.primitive.MutableByteListwithoutAll in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList select(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface com.gs.collections.api.ByteIterableselect in interface com.gs.collections.api.collection.primitive.MutableByteCollectionselect in interface com.gs.collections.api.list.primitive.ByteListselect in interface com.gs.collections.api.list.primitive.MutableByteListselect in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList reject(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface com.gs.collections.api.ByteIterablereject in interface com.gs.collections.api.collection.primitive.MutableByteCollectionreject in interface com.gs.collections.api.list.primitive.ByteListreject in interface com.gs.collections.api.list.primitive.MutableByteListreject in class AbstractSynchronizedByteCollectionpublic <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.ByteIterablecollect in interface com.gs.collections.api.collection.primitive.MutableByteCollectioncollect in interface com.gs.collections.api.list.primitive.ByteListcollect in interface com.gs.collections.api.list.primitive.MutableByteListcollect in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList sortThis()
com.gs.collections.api.list.primitive.MutableByteListsortThis in interface com.gs.collections.api.list.primitive.MutableByteListpublic long dotProduct(com.gs.collections.api.list.primitive.ByteList list)
dotProduct in interface com.gs.collections.api.list.primitive.ByteListpublic boolean equals(java.lang.Object otherList)
com.gs.collections.api.list.primitive.ByteListList.equals(Object).equals in interface com.gs.collections.api.list.primitive.ByteListequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.list.primitive.ByteListList.hashCode().hashCode in interface com.gs.collections.api.list.primitive.ByteListhashCode in class java.lang.Objectpublic com.gs.collections.api.LazyByteIterable asLazy()
asLazy in interface com.gs.collections.api.ByteIterableasLazy in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableByteCollectionasUnmodifiable in interface com.gs.collections.api.list.primitive.MutableByteListasUnmodifiable in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableByteCollectionasSynchronized in interface com.gs.collections.api.list.primitive.MutableByteListasSynchronized in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.ImmutableByteList toImmutable()
com.gs.collections.api.list.primitive.MutableByteListtoImmutable in interface com.gs.collections.api.collection.primitive.MutableByteCollectiontoImmutable in interface com.gs.collections.api.list.primitive.ByteListtoImmutable in interface com.gs.collections.api.list.primitive.MutableByteListtoImmutable in class AbstractSynchronizedByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList reverseThis()
reverseThis in interface com.gs.collections.api.list.primitive.MutableByteListpublic com.gs.collections.api.list.primitive.MutableByteList toReversed()
toReversed in interface com.gs.collections.api.list.primitive.MutableByteList