Class IndexedMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
org.ojalgo.type.keyvalue.IndexedMap<K,V>
All Implemented Interfaces:
Map<K,V>, Paired<K,V>
Direct Known Subclasses:
IndexedMap.MappedPrimitives

public class IndexedMap<K,V> extends AbstractMap<K,V> implements Paired<K,V>
Wrap two arrays (of keys and values) and treat the result as a Map. There is no check that the supplied array of keys does not contain duplicates – the index is the real "key".