Interface UnmodifiableByDefaultLiveList<E>
- All Superinterfaces:
Collection<E>, Iterable<E>, List<E>, javafx.beans.Observable, javafx.collections.ObservableList<E>, SequencedCollection<E>, UnmodifiableByDefaultList<E>
public interface UnmodifiableByDefaultLiveList<E>
extends javafx.collections.ObservableList<E>, UnmodifiableByDefaultList<E>
Trait to be mixed into implementations of unmodifiable
LiveLists.
Provides default implementations of mutating list methods.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault booleandefault booleancontainsAll(Collection<?> c) default intdefault booleanisEmpty()iterator()default intdefault ListIterator<E> default ListIterator<E> listIterator(int index) default voidremove(int from, int to) default booleandefault booleandefault booleandefault booleansetAll(Collection<? extends E> elems) subList(int fromIndex, int toIndex) default Object[]toArray()default <T> T[]toArray(T[] a) Methods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addFirst, addLast, equals, get, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, size, sort, spliteratorMethods inherited from interface javafx.beans.Observable
addListener, removeListenerMethods inherited from interface javafx.collections.ObservableList
addListener, filtered, removeListener, sorted, sorted
-
Method Details
-
addAll
-
remove
default void remove(int from, int to) - Specified by:
removein interfacejavafx.collections.ObservableList<E>
-
removeAll
-
retainAll
-
setAll
-
setAll
- Specified by:
setAllin interfacejavafx.collections.ObservableList<E>
-
isEmpty
default boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E>- Specified by:
isEmptyin interfaceList<E>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
contains
- Specified by:
containsin interfaceCollection<E>- Specified by:
containsin interfaceList<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
subList
-
toArray
- Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>
-
toArray
default <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>
-