T - list entry typepublic class LockableList<T> extends ArrayList<T>
| Constructor and Description |
|---|
LockableList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int i,
T t) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> ts) |
boolean |
addAll(int i,
Collection<? extends T> ts) |
void |
clear() |
void |
lock()
Set read-only status for list.
|
T |
remove(int i) |
boolean |
remove(Object o) |
T |
set(int i,
T t) |
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodeparallelStream, streampublic void lock()
public boolean add(T t)
public void add(int i,
T t)
public T remove(int i)
public boolean remove(Object o)
public void clear()
public boolean addAll(Collection<? extends T> ts)
Copyright © 2022. All rights reserved.