@NotThreadSafe public final class UnmodifiableByteList extends AbstractUnmodifiableByteCollection implements com.gs.collections.api.list.primitive.MutableByteList
| 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 |
asReversed() |
com.gs.collections.api.list.primitive.MutableByteList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableByteList |
asUnmodifiable() |
int |
binarySearch(byte value) |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
com.gs.collections.api.list.primitive.MutableByteList |
distinct() |
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). |
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.ByteIntProcedure procedure) |
byte |
get(int index) |
byte |
getFirst() |
byte |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
indexOf(byte value) |
<T> T |
injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectByteIntToObjectFunction<? super T,? extends T> function) |
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.MutableByteList |
subList(int fromIndex,
int toIndex) |
com.gs.collections.api.list.primitive.ImmutableByteList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableByteList |
toReversed() |
UnmodifiableByteList |
with(byte element) |
UnmodifiableByteList |
withAll(com.gs.collections.api.ByteIterable elements) |
UnmodifiableByteList |
without(byte element) |
UnmodifiableByteList |
withoutAll(com.gs.collections.api.ByteIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, byteIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, getByteCollection, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, asLazy, 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 com.gs.collections.api.list.primitive.ByteListpublic byte getFirst()
getFirst in interface com.gs.collections.api.ordered.primitive.OrderedByteIterablepublic byte getLast()
getLast in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablepublic int indexOf(byte value)
indexOf in interface com.gs.collections.api.ordered.primitive.OrderedByteIterablepublic 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 UnmodifiableByteList with(byte element)
with in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwith in interface com.gs.collections.api.list.primitive.MutableByteListwith in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteList without(byte element)
without in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithout in interface com.gs.collections.api.list.primitive.MutableByteListwithout in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteList 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 AbstractUnmodifiableByteCollectionpublic UnmodifiableByteList 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 AbstractUnmodifiableByteCollectionpublic 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 interface com.gs.collections.api.ordered.primitive.OrderedByteIterableselect in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterableselect in class AbstractUnmodifiableByteCollectionpublic 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 interface com.gs.collections.api.ordered.primitive.OrderedByteIterablereject in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablereject in class AbstractUnmodifiableByteCollectionpublic <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 interface com.gs.collections.api.ordered.primitive.OrderedByteIterablecollect in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablecollect in class AbstractUnmodifiableByteCollectionpublic com.gs.collections.api.list.primitive.MutableByteList sortThis()
com.gs.collections.api.list.primitive.MutableByteListsortThis in interface com.gs.collections.api.list.primitive.MutableByteListpublic int binarySearch(byte value)
binarySearch in interface com.gs.collections.api.list.primitive.ByteListpublic 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.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 AbstractUnmodifiableByteCollectionpublic 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 AbstractUnmodifiableByteCollectionpublic 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 AbstractUnmodifiableByteCollectionpublic 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.ByteListtoReversed in interface com.gs.collections.api.list.primitive.MutableByteListtoReversed in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablepublic void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.ByteIntProcedure procedure)
forEachWithIndex in interface com.gs.collections.api.ordered.primitive.OrderedByteIterablepublic com.gs.collections.api.LazyByteIterable asReversed()
asReversed in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablepublic <T> T injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectByteIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.OrderedByteIterableinjectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablepublic com.gs.collections.api.list.primitive.MutableByteList distinct()
distinct in interface com.gs.collections.api.list.primitive.ByteListdistinct in interface com.gs.collections.api.list.primitive.MutableByteListdistinct in interface com.gs.collections.api.ordered.primitive.ReversibleByteIterablepublic com.gs.collections.api.list.primitive.MutableByteList subList(int fromIndex,
int toIndex)
subList in interface com.gs.collections.api.list.primitive.ByteListsubList in interface com.gs.collections.api.list.primitive.MutableByteListList#subList(int fromIndex, int toIndex)}