| Constructor and Description |
|---|
StringHashMapList2() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValueAndShiftKeys(int fromIndex,
int toIndex,
String label)
shift elements all keys from starting index until the last toIndex.
|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Integer,String>> |
entrySet() |
String |
get(int externalIndex) |
String |
get(Object key) |
boolean |
isEmpty() |
Set<Integer> |
keySet() |
String |
put(Integer key,
String value) |
void |
putAll(Map<? extends Integer,? extends String> m) |
void |
remove(int fromIndex,
int toIndex)
Removes elements of this list using optimised system calls.
|
String |
remove(Object key) |
void |
setAll(StringHashMapList other) |
void |
shiftKeys(int fromIndex,
int toIndex)
shift elements all keys from starting index until the last toIndex.
|
int |
size() |
Collection<String> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void addValueAndShiftKeys(int fromIndex,
int toIndex,
String label)
fromIndex - the start index (inclusive).toIndex - the end index (exclusive).label - label to be addedpublic boolean containsKey(Object key)
containsKey in interface Map<Integer,String>public boolean containsValue(Object value)
containsValue in interface Map<Integer,String>public String get(int externalIndex)
public void remove(int fromIndex,
int toIndex)
fromIndex - the start index (inclusive).toIndex - the end index (exclusive).public void setAll(StringHashMapList other)
public void shiftKeys(int fromIndex,
int toIndex)
fromIndex - the start index (inclusive).toIndex - the end index (exclusive).Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.