public class AtomicReferenceArrayListAdapter<T> extends AbstractList<T> implements Serializable
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, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic AtomicReferenceArrayListAdapter(AtomicReferenceArray<T> atomicReferenceArray)
Copyright © 2017. All Rights Reserved.