@ThreadSafe public final class SynchronizedLongList extends AbstractSynchronizedLongCollection implements MutableLongList
MutableLongList. It is imperative that the user manually synchronize on the collection when iterating over it using the
LongIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableLongList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Formadd, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, longIterator, 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, clear, longIterator, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic long getFirst()
getFirst in interface OrderedLongIterablepublic long getLast()
getLast in interface ReversibleLongIterablepublic int indexOf(long value)
indexOf in interface OrderedLongIterablepublic int lastIndexOf(long value)
lastIndexOf in interface LongListpublic void addAtIndex(int index,
long element)
addAtIndex in interface MutableLongListpublic boolean addAllAtIndex(int index,
long... source)
addAllAtIndex in interface MutableLongListpublic boolean addAllAtIndex(int index,
LongIterable source)
addAllAtIndex in interface MutableLongListpublic long removeAtIndex(int index)
removeAtIndex in interface MutableLongListpublic long set(int index,
long element)
set in interface MutableLongListpublic SynchronizedLongList with(long element)
with in interface MutableLongCollectionwith in interface MutableLongListwith in class AbstractSynchronizedLongCollectionpublic SynchronizedLongList without(long element)
without in interface MutableLongCollectionwithout in interface MutableLongListwithout in class AbstractSynchronizedLongCollectionpublic SynchronizedLongList withAll(LongIterable elements)
withAll in interface MutableLongCollectionwithAll in interface MutableLongListwithAll in class AbstractSynchronizedLongCollectionpublic SynchronizedLongList withoutAll(LongIterable elements)
withoutAll in interface MutableLongCollectionwithoutAll in interface MutableLongListwithoutAll in class AbstractSynchronizedLongCollectionpublic MutableLongList select(LongPredicate predicate)
select in interface MutableLongCollectionselect in interface LongListselect in interface MutableLongListselect in interface LongIterableselect in interface OrderedLongIterableselect in interface ReversibleLongIterableselect in class AbstractSynchronizedLongCollectionpublic MutableLongList reject(LongPredicate predicate)
reject in interface MutableLongCollectionreject in interface LongListreject in interface MutableLongListreject in interface LongIterablereject in interface OrderedLongIterablereject in interface ReversibleLongIterablereject in class AbstractSynchronizedLongCollectionpublic <V> MutableList<V> collect(LongToObjectFunction<? extends V> function)
collect in interface MutableLongCollectioncollect in interface LongListcollect in interface MutableLongListcollect in interface LongIterablecollect in interface OrderedLongIterablecollect in interface ReversibleLongIterablecollect in class AbstractSynchronizedLongCollectionpublic MutableLongList sortThis()
MutableLongListsortThis in interface MutableLongListpublic int binarySearch(long value)
binarySearch in interface LongListpublic long dotProduct(LongList list)
dotProduct in interface LongListpublic boolean equals(Object otherList)
LongListList.equals(Object).public int hashCode()
LongListList.hashCode().public LazyLongIterable asLazy()
asLazy in interface LongIterableasLazy in class AbstractSynchronizedLongCollectionpublic MutableLongList asUnmodifiable()
asUnmodifiable in interface MutableLongCollectionasUnmodifiable in interface MutableLongListasUnmodifiable in class AbstractSynchronizedLongCollectionpublic MutableLongList asSynchronized()
asSynchronized in interface MutableLongCollectionasSynchronized in interface MutableLongListasSynchronized in class AbstractSynchronizedLongCollectionpublic ImmutableLongList toImmutable()
MutableLongListtoImmutable in interface MutableLongCollectiontoImmutable in interface LongListtoImmutable in interface MutableLongListtoImmutable in class AbstractSynchronizedLongCollectionpublic MutableLongList reverseThis()
reverseThis in interface MutableLongListpublic MutableLongList toReversed()
toReversed in interface LongListtoReversed in interface MutableLongListtoReversed in interface ReversibleLongIterablepublic LazyLongIterable asReversed()
asReversed in interface ReversibleLongIterablepublic void forEachWithIndex(LongIntProcedure procedure)
forEachWithIndex in interface OrderedLongIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectLongIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedLongIterableinjectIntoWithIndex in interface ReversibleLongIterablepublic MutableLongList distinct()
distinct in interface LongListdistinct in interface MutableLongListdistinct in interface ReversibleLongIterablepublic MutableLongList subList(int fromIndex, int toIndex)
subList in interface LongListsubList in interface MutableLongListList#subList(int fromIndex, int toIndex)}Copyright © 2004–2016. All rights reserved.