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, trimToSize
equals, hashCode
containsAll, toString
containsAll, equals, hashCode
parallelStream, stream
public 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.