public class IntMapsString extends Hashtable
| Modifier and Type | Method and Description |
|---|---|
void |
add(int id,
String aString)
Associates a
Integer id(key) to a String astring(value). |
boolean |
containsIntKey(int key)
Tests whether the specified object is a key in
IntMapsString or not. |
String |
getStringValue(int id)
Getter for the Value as a
String. |
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic void add(int id,
String aString)
Integer id(key) to a String astring(value).id - keyaString - valueHashtable.put(java.lang.Object, java.lang.Object)public String getStringValue(int id) throws Exception
String.id - keyStringvalueException - throws Exeption if anything went wrongNullPointerException - "Entry is not a String" if key not a String or "No entry" if
id<\code> has no entrypublic boolean containsIntKey(int key)
IntMapsString or not.key - possible keytrue, if the object is a key in IntMapsStringHashtable.containsKey(java.lang.Object)Copyright © 2012–2026 cismet GmbH. All rights reserved.