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 Details

    • addAll

      default boolean addAll(E... elems)
      Specified by:
      addAll in interface javafx.collections.ObservableList<E>
    • remove

      default void remove(int from, int to)
      Specified by:
      remove in interface javafx.collections.ObservableList<E>
    • removeAll

      default boolean removeAll(E... elems)
      Specified by:
      removeAll in interface javafx.collections.ObservableList<E>
    • retainAll

      default boolean retainAll(E... elems)
      Specified by:
      retainAll in interface javafx.collections.ObservableList<E>
    • setAll

      default boolean setAll(E... elems)
      Specified by:
      setAll in interface javafx.collections.ObservableList<E>
    • setAll

      default boolean setAll(Collection<? extends E> elems)
      Specified by:
      setAll in interface javafx.collections.ObservableList<E>
    • isEmpty

      default boolean isEmpty()
      Specified by:
      isEmpty in interface Collection<E>
      Specified by:
      isEmpty in interface List<E>
    • indexOf

      default int indexOf(Object o)
      Specified by:
      indexOf in interface List<E>
    • lastIndexOf

      default int lastIndexOf(Object o)
      Specified by:
      lastIndexOf in interface List<E>
    • contains

      default boolean contains(Object o)
      Specified by:
      contains in interface Collection<E>
      Specified by:
      contains in interface List<E>
    • containsAll

      default boolean containsAll(Collection<?> c)
      Specified by:
      containsAll in interface Collection<E>
      Specified by:
      containsAll in interface List<E>
    • iterator

      default Iterator<E> iterator()
      Specified by:
      iterator in interface Collection<E>
      Specified by:
      iterator in interface Iterable<E>
      Specified by:
      iterator in interface List<E>
    • listIterator

      default ListIterator<E> listIterator()
      Specified by:
      listIterator in interface List<E>
    • listIterator

      default ListIterator<E> listIterator(int index)
      Specified by:
      listIterator in interface List<E>
    • subList

      default List<E> subList(int fromIndex, int toIndex)
      Specified by:
      subList in interface List<E>
    • toArray

      default Object[] toArray()
      Specified by:
      toArray in interface Collection<E>
      Specified by:
      toArray in interface List<E>
    • toArray

      default <T> T[] toArray(T[] a)
      Specified by:
      toArray in interface Collection<E>
      Specified by:
      toArray in interface List<E>