Package net.hydromatic.morel.util
Class Pair.ZipList<K,V>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Pair<K,V>>
-
- net.hydromatic.morel.util.Pair.ZipList<K,V>
-
- Type Parameters:
K- Left-hand typeV- Right-hand type
- All Implemented Interfaces:
java.lang.Iterable<Pair<K,V>>,java.util.Collection<Pair<K,V>>,java.util.List<Pair<K,V>>
private static class Pair.ZipList<K,V> extends java.util.AbstractList<Pair<K,V>>
Unmodifiable list of pairs, backed by a pair of lists.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<K,V>get(int index)intsize()-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-