Package org.reactfx.collection
Interface AccessorListMethods<E>
- All Superinterfaces:
Collection<E>
,Iterable<E>
,List<E>
,SequencedCollection<E>
- All Known Subinterfaces:
UnmodifiableByDefaultList<E>
,UnmodifiableByDefaultLiveList<E>
- All Known Implementing Classes:
DynamicallyMappedList
,LiveArrayList
,LiveListBase
,MappedList
,MemoizationListImpl
,MemoizationListImpl.MemoizedView
,ValAsList
Plain boilerplate, because java.util.List does not have default methods.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default boolean
containsAll
(Collection<?> c) default int
default boolean
isEmpty()
iterator()
default int
default ListIterator
<E> default ListIterator
<E> listIterator
(int index) subList
(int fromIndex, int toIndex) default Object[]
toArray()
default <T> T[]
toArray
(T[] a) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
isEmpty
default boolean isEmpty() -
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
-
contains
-
containsAll
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
-
iterator
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
subList
-
toArray
-
toArray
default <T> T[] toArray(T[] a)
-