Class AbstractMapBasedMultimap.WrappedList

All Implemented Interfaces:
Iterable<V>, Collection<V>, List<V>, SequencedCollection<V>
Direct Known Subclasses:
AbstractMapBasedMultimap.RandomAccessWrappedList
Enclosing class:
AbstractMapBasedMultimap<K,V>

class AbstractMapBasedMultimap.WrappedList extends AbstractMapBasedMultimap<K,V>.WrappedCollection implements List<V>
List decorator that stays in sync with the multimap values for a key.
  • Constructor Details

  • Method Details

    • getListDelegate

      List<V> getListDelegate()
    • addAll

      public boolean addAll(int index, Collection<? extends V> c)
      Specified by:
      addAll in interface List<V>
    • get

      public V get(int index)
      Specified by:
      get in interface List<V>
    • set

      public V set(int index, V element)
      Specified by:
      set in interface List<V>
    • add

      public void add(int index, V element)
      Specified by:
      add in interface List<V>
    • remove

      public V remove(int index)
      Specified by:
      remove in interface List<V>
    • indexOf

      public int indexOf(@CheckForNull Object o)
      Specified by:
      indexOf in interface List<V>
    • lastIndexOf

      public int lastIndexOf(@CheckForNull Object o)
      Specified by:
      lastIndexOf in interface List<V>
    • listIterator

      public ListIterator<V> listIterator()
      Specified by:
      listIterator in interface List<V>
    • listIterator

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

      public List<V> subList(int fromIndex, int toIndex)
      Specified by:
      subList in interface List<V>