public class StringMap
extends java.util.TreeMap
Constructor and Description |
---|
StringMap()
Constructor.
|
StringMap(boolean caseSensitive)
Constructor.
|
StringMap(java.util.Map map,
boolean caseSensitive)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCaseSensitive()
Check if the map is case-sensitive.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Put a record in the map.
|
void |
setCaseSensitive(boolean flag)
Set the case sensitivity.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
public StringMap()
public StringMap(boolean caseSensitive)
caseSensitive
- : fix if the map if case sensitive or not.public StringMap(java.util.Map map, boolean caseSensitive)
map
- : initial properties.caseSensitive
- : fix if the map if case sensitive or not.public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
put
in class java.util.TreeMap
key
- : keyvalue
- : valueTreeMap.put(Object, Object)
public boolean isCaseSensitive()
public void setCaseSensitive(boolean flag)
flag
- : the new case sensitivity.Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.