Interface UnmodifiableByDefaultList<E>

    • Method Detail

      • set

        default E set​(int index,
                      E element)
        Specified by:
        set in interface java.util.List<E>
      • add

        default void add​(int index,
                         E element)
        Specified by:
        add in interface java.util.List<E>
      • remove

        default E remove​(int index)
        Specified by:
        remove in interface java.util.List<E>
      • add

        default boolean add​(E e)
        Specified by:
        add in interface java.util.Collection<E>
        Specified by:
        add in interface java.util.List<E>
      • addAll

        default boolean addAll​(java.util.Collection<? extends E> c)
        Specified by:
        addAll in interface java.util.Collection<E>
        Specified by:
        addAll in interface java.util.List<E>
      • addAll

        default boolean addAll​(int index,
                               java.util.Collection<? extends E> c)
        Specified by:
        addAll in interface java.util.List<E>
      • remove

        default boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<E>
        Specified by:
        remove in interface java.util.List<E>
      • removeAll

        default boolean removeAll​(java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<E>
        Specified by:
        removeAll in interface java.util.List<E>
      • retainAll

        default boolean retainAll​(java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<E>
        Specified by:
        retainAll in interface java.util.List<E>
      • clear

        default void clear()
        Specified by:
        clear in interface java.util.Collection<E>
        Specified by:
        clear in interface java.util.List<E>