Modifier and Type | Field and Description |
---|---|
protected int |
size |
protected Object[] |
table |
Constructor and Description |
---|
StringArrayMap() |
StringArrayMap(int capacity) |
StringArrayMap(Map<String,? extends V> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
protected Object |
doPut(String key,
Object value) |
Set<Map.Entry<String,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
V |
put(String key,
V value) |
void |
putAll(Map<? extends String,? extends V> m) |
static <T> Map<String,T> |
reduceMemory(Map<String,T> map) |
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Object[] table
protected int size
public StringArrayMap()
public StringArrayMap(int capacity)
public boolean containsKey(Object key)
containsKey
in interface Map<String,V>
public boolean containsValue(Object value)
containsValue
in interface Map<String,V>
public int hashCode()
public boolean equals(Object o)
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.