public class StringMapsInt extends Hashtable
| Constructor and Description |
|---|
StringMapsInt()
Creates a new StringMapsInt object.
|
StringMapsInt(int initialCapacity,
float loadFactor)
Creates a new StringMapsInt object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String descriptor,
int sqlID)
Associates
Integer sq1ID(value) to a String descriptor(key). |
boolean |
containsStringKey(String key)
Tests whether the specified object is a key in
StringMapsInt or not. |
int |
getIntValue(String descriptor)
Getter for the Value as a
Integer. |
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 StringMapsInt()
public StringMapsInt(int initialCapacity,
float loadFactor)
initialCapacity - Capacity when Object is createdloadFactor - buffer for capacity increaseHashtablepublic void add(String descriptor, int sqlID)
Integer sq1ID(value) to a String descriptor(key).descriptor - keysqlID - valueHashtable.put(java.lang.Object, java.lang.Object)public int getIntValue(String descriptor) throws Exception
Integer.descriptor - descriptorException - throws Exeption if anything went wrongNullPointerException - "Entry is not a Integer" or "No entry"public boolean containsStringKey(String key)
StringMapsInt or not.key - possible keytrue, if the object is a key in StringMapsIntHashtable.containsKey(java.lang.Object)Copyright © 2012–2026 cismet GmbH. All rights reserved.