Package net.hydromatic.morel.util
Class Pair.MutableZipList<K,V>
- Type Parameters:
K- Key (left) value typeV- Value (right) value type
- All Implemented Interfaces:
Iterable<Pair<K,,V>> Collection<Pair<K,,V>> List<Pair<K,,V>> SequencedCollection<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.
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
ks
-
vs
-
-
Constructor Details
-
MutableZipList
-
-
Method Details
-
get
-
size
public int size() -
add
-
remove
-
set
-