public class AtomicReferenceArrayListAdapter<T> extends AbstractList<T>
AtomicReferenceArray
to implement read-only methods of the List
interface.
This enables binary search of an AtomicReferenceArray
, using
Collections.binarySearch(java.util.List, Object)
.modCount
Constructor and Description |
---|
AtomicReferenceArrayListAdapter(AtomicReferenceArray<T> atomicReferenceArray) |
Modifier and Type | Method and Description |
---|---|
T |
get(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public AtomicReferenceArrayListAdapter(AtomicReferenceArray<T> atomicReferenceArray)
Copyright © 2016. All rights reserved.