public interface MultiReaderList<T> extends MutableList<T>
withReadLockAndDelegate() and withWriteLockAndDelegate().| Modifier and Type | Method and Description |
|---|---|
MultiReaderList<T> |
reverseThis()
Mutates this list by reversing its order and returns the current list as a result.
|
MultiReaderList<T> |
shuffleThis()
Mutates this list by shuffling its elements.
|
MultiReaderList<T> |
shuffleThis(Random random)
Mutates this list by shuffling its elements using the specified random.
|
default MultiReaderList<T> |
sortThis()
Sorts the internal data structure of this list and returns the list itself as a convenience.
|
default MultiReaderList<T> |
sortThis(Comparator<? super T> comparator)
Sorts the internal data structure of this list and returns the list itself as a convenience.
|
<V extends Comparable<? super V>> |
sortThisBy(Function<? super T,? extends V> function)
Sorts the internal data structure of this list based on the natural order of the attribute returned by
function. |
MultiReaderList<T> |
sortThisByBoolean(BooleanFunction<? super T> function) |
MultiReaderList<T> |
sortThisByByte(ByteFunction<? super T> function) |
MultiReaderList<T> |
sortThisByChar(CharFunction<? super T> function) |
MultiReaderList<T> |
sortThisByDouble(DoubleFunction<? super T> function) |
MultiReaderList<T> |
sortThisByFloat(FloatFunction<? super T> function) |
MultiReaderList<T> |
sortThisByInt(IntFunction<? super T> function) |
MultiReaderList<T> |
sortThisByLong(LongFunction<? super T> function) |
MultiReaderList<T> |
sortThisByShort(ShortFunction<? super T> function) |
void |
withReadLockAndDelegate(Procedure<? super MutableList<T>> procedure) |
void |
withWriteLockAndDelegate(Procedure<? super MutableList<T>> procedure) |
asSynchronized, asUnmodifiable, clone, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, collectWithIndex, distinct, distinct, distinctBy, drop, dropWhile, flatCollect, flatCollectWith, groupBy, groupByEach, newEmpty, partition, partitionWhile, partitionWith, reject, rejectWith, rejectWithIndex, select, selectInstancesOf, selectWith, selectWithIndex, subList, take, takeWhile, tap, toImmutable, toImmutableList, toReversed, with, withAll, without, withoutAll, zip, zipWithIndexaddAllIterable, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamasParallel, binarySearch, binarySearch, equals, forEachInBoth, get, getFirst, getLast, hashCode, lastIndexOf, listIterator, listIteratorasReversed, detectLastIndex, reverseForEach, reverseForEachWithIndexcollectWithIndex, corresponds, detectIndex, forEach, forEachWithIndex, forEachWithIndex, getFirstOptional, getLastOptional, indexOf, rejectWithIndex, selectWithIndex, toStackaggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, maxBy, maxByOptional, maxOptional, maxOptional, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toStringforEachWithvoid withReadLockAndDelegate(Procedure<? super MutableList<T>> procedure)
void withWriteLockAndDelegate(Procedure<? super MutableList<T>> procedure)
default MultiReaderList<T> sortThis(Comparator<? super T> comparator)
MutableListsortThis in interface MutableList<T>default MultiReaderList<T> sortThis()
MutableListsortThis in interface MutableList<T><V extends Comparable<? super V>> MultiReaderList<T> sortThisBy(Function<? super T,? extends V> function)
MutableListfunction.sortThisBy in interface MutableList<T>MultiReaderList<T> sortThisByInt(IntFunction<? super T> function)
sortThisByInt in interface MutableList<T>MultiReaderList<T> sortThisByBoolean(BooleanFunction<? super T> function)
sortThisByBoolean in interface MutableList<T>MultiReaderList<T> sortThisByChar(CharFunction<? super T> function)
sortThisByChar in interface MutableList<T>MultiReaderList<T> sortThisByByte(ByteFunction<? super T> function)
sortThisByByte in interface MutableList<T>MultiReaderList<T> sortThisByShort(ShortFunction<? super T> function)
sortThisByShort in interface MutableList<T>MultiReaderList<T> sortThisByFloat(FloatFunction<? super T> function)
sortThisByFloat in interface MutableList<T>MultiReaderList<T> sortThisByLong(LongFunction<? super T> function)
sortThisByLong in interface MutableList<T>MultiReaderList<T> sortThisByDouble(DoubleFunction<? super T> function)
sortThisByDouble in interface MutableList<T>MultiReaderList<T> reverseThis()
MutableListreverseThis in interface MutableList<T>MultiReaderList<T> shuffleThis()
MutableListshuffleThis in interface MutableList<T>MultiReaderList<T> shuffleThis(Random random)
MutableListshuffleThis in interface MutableList<T>Copyright © 2004–2022. All rights reserved.