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 voidadd(int index, E element)default booleanadd(E e)default booleanaddAll(int index, java.util.Collection<? extends E> c)default booleanaddAll(java.util.Collection<? extends E> c)default voidclear()default Eremove(int index)default booleanremove(java.lang.Object o)default booleanremoveAll(java.util.Collection<?> c)default booleanretainAll(java.util.Collection<?> c)default Eset(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:
addAllin 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)
-
-