-
- All Implemented Interfaces:
-
java.io.Serializable,java.util.RandomAccess,kotlin.Cloneable,kotlin.collections.Collection,kotlin.collections.Iterable,kotlin.collections.List,kotlin.collections.MutableCollection,kotlin.collections.MutableIterable,kotlin.collections.MutableList
public final class ChangeAwareCopyOnWriteArrayList<E extends Object> extends ArrayList<E>
-
-
Constructor Summary
Constructors Constructor Description ChangeAwareCopyOnWriteArrayList()
-
Method Summary
Modifier and Type Method Description final ChangeAwareCopyOnWriteArrayListNotifiergetNotifier()final UnitsetNotifier(ChangeAwareCopyOnWriteArrayListNotifier notifier)IntegergetSize()Booleanadd(E element)Booleanremove(E element)Unitclear()BooleanaddAll(Collection<E> elements)BooleanremoveAll(Collection<E> elements)BooleanremoveIf(Predicate<in E> filter)Eset(Integer index, E element)-
Methods inherited from class org.altbeacon.beacon.utils.ChangeAwareCopyOnWriteArrayList
add, addAll, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAt, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray, trimToSize -
Methods inherited from class java.util.AbstractList
containsAll, toString -
Methods inherited from class kotlin.collections.MutableCollection
parallelStream, stream, toArray -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getNotifier
final ChangeAwareCopyOnWriteArrayListNotifier getNotifier()
-
setNotifier
final Unit setNotifier(ChangeAwareCopyOnWriteArrayListNotifier notifier)
-
addAll
Boolean addAll(Collection<E> elements)
-
removeAll
Boolean removeAll(Collection<E> elements)
-
removeIf
@RequiresApi(value = 24) Boolean removeIf(Predicate<in E> filter)
-
-
-
-