org.mvel2.util
public class SimpleIndexHashMapWrapper<K,V> extends java.lang.Object implements java.util.Map<K,V>
Constructor and Description |
---|
SimpleIndexHashMapWrapper() |
SimpleIndexHashMapWrapper(K[] keys) |
SimpleIndexHashMapWrapper(K[] keys,
int initialCapacity,
float load) |
SimpleIndexHashMapWrapper(SimpleIndexHashMapWrapper<K,V> wrapper,
boolean allocateOnly) |
Modifier and Type | Method and Description |
---|---|
void |
addKey(K key) |
void |
addKey(K key,
V value) |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
V |
getByIndex(int index) |
K |
getKeyAtIndex(int index) |
int |
indexOf(K key) |
void |
initWithKeys(K[] keys) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> m) |
void |
putAtIndex(int index,
V value) |
V |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<V> |
values() |
public SimpleIndexHashMapWrapper()
public SimpleIndexHashMapWrapper(SimpleIndexHashMapWrapper<K,V> wrapper, boolean allocateOnly)
public SimpleIndexHashMapWrapper(K[] keys)
public SimpleIndexHashMapWrapper(K[] keys, int initialCapacity, float load)
public void initWithKeys(K[] keys)
public void addKey(K key)
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public V getByIndex(int index)
public K getKeyAtIndex(int index)
public int indexOf(K key)
public void putAtIndex(int index, V value)
Copyright © 2014. All Rights Reserved.