Interface WeakList<T>

All Superinterfaces:
Iterable<T>
All Known Implementing Classes:
WeakArrayList

public interface WeakList<T> extends Iterable<T>
  • Method Details

    • add

      void add(T value)
    • clear

      void clear()
    • forEach

      void forEach(Consumer<? super T> action)
      Specified by:
      forEach in interface Iterable<T>
    • get

      T get(int index)
    • isEmpty

      boolean isEmpty()
    • iterator

      Iterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T>
    • optGet

      Optional<T> optGet(int index)
    • remove

      boolean remove(T value)
    • size

      int size()
    • sort

      void sort(Comparator<? super T> comparator)