@NotThreadSafe public class SMap extends LinkedHashMap<String,String> implements ICloneable<SMap>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SMap()
Create an empty map.
|
SMap(Map<String,String> rhs)
Create a map base on the given map.
|
SMap(String sName,
int nValue) |
SMap(String sName,
Locale aValue) |
SMap(String sName,
String sValue) |
| Modifier and Type | Method and Description |
|---|---|
SMap |
add(String sName,
int nValue) |
SMap |
add(String sName,
Locale aLocale) |
SMap |
add(String sName,
String sValue) |
SMap |
addAll(Map<String,String> aMap) |
SMap |
addIfNotNull(String sName,
String sValue) |
SMap |
getClone() |
String |
put(String sName,
String sValue)
Deprecated.
|
void |
putAll(Map<? extends String,? extends String> aMap)
Deprecated.
|
clear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, remove, size, valuesequals, hashCode, toStringpublic SMap()
public SMap(@Nullable Map<String,String> rhs)
rhs - The map to add. May not be null.@Deprecated @DevelopersNote(value="Use add instead - only for API compliance!") public String put(@Nonnull String sName, @Nonnull String sValue)
@Deprecated @DevelopersNote(value="Use add instead - only for API compliance!") public void putAll(Map<? extends String,? extends String> aMap)
@Nonnull public SMap getClone()
getClone in interface ICloneable<SMap>Copyright © 2006–2015 phloc systems. All rights reserved.