Package org.reactfx.collection
Interface UnmodifiableByDefaultList<E>
-
- All Superinterfaces:
AccessorListMethods<E>
,java.util.Collection<E>
,java.lang.Iterable<E>
,java.util.List<E>
- All Known Subinterfaces:
UnmodifiableByDefaultLiveList<E>
- All Known Implementing Classes:
DynamicallyMappedList
,MappedList
,MemoizationListImpl
,MemoizationListImpl.MemoizedView
,ValAsList
public interface UnmodifiableByDefaultList<E> extends AccessorListMethods<E>
Trait to be mixed into implementations of unmodifiable lists. Provides default implementations of mutating list methods.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
add(int index, E element)
default boolean
add(E e)
default boolean
addAll(int index, java.util.Collection<? extends E> c)
default boolean
addAll(java.util.Collection<? extends E> c)
default void
clear()
default E
remove(int index)
default boolean
remove(java.lang.Object o)
default boolean
removeAll(java.util.Collection<?> c)
default boolean
retainAll(java.util.Collection<?> c)
default E
set(int index, E element)
-
Methods inherited from interface org.reactfx.collection.AccessorListMethods
contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
add
default boolean add(E e)
-
addAll
default boolean addAll(java.util.Collection<? extends E> c)
-
addAll
default boolean addAll(int index, java.util.Collection<? extends E> c)
- Specified by:
addAll
in interfacejava.util.List<E>
-
remove
default boolean remove(java.lang.Object o)
-
removeAll
default boolean removeAll(java.util.Collection<?> c)
-
retainAll
default boolean retainAll(java.util.Collection<?> c)
-
-