Class Pair.MutableZipList<K,​V>

  • Type Parameters:
    K - Key (left) value type
    V - Value (right) value type
    All Implemented Interfaces:
    Iterable<Pair<K,​V>>, Collection<Pair<K,​V>>, List<Pair<K,​V>>
    Enclosing class:
    Pair<T1,​T2>

    private static class Pair.MutableZipList<K,​V>
    extends AbstractList<Pair<K,​V>>
    A mutable list of pairs backed by a pair of mutable lists.

    Modifications to this list are reflected in the backing lists, and vice versa.