public class EmptyMapFromString extends MapFromString
An immutable empty map.
Constructor and Description |
---|
EmptyMapFromString()
Construct a new map with
EmptyMapFromString.size of zero and specified initial capacity . |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Throws:
|
boolean |
deleteWithString(java.lang.String key)
For internal use only.
|
boolean |
isMutable()
true if this map is mutable. |
void |
setWithString(java.lang.String key,
java.lang.Object value)
For internal use only.
|
copyKeysTo, copyValuesTo, delete, get, getRequired, getRequiredWithString, getWithString, has, hasWithString, isEmpty, iteratorFromString, keys, set, size, toString, values
public EmptyMapFromString()
Construct a new map with EmptyMapFromString.size
of zero and specified initial capacity
.
A map can expand in size beyond its initial capacity, but best performance
will be obtained if the initial capacity is close to the map's maximum size.
public void clear()
clear
in class MapFromString
public boolean deleteWithString(java.lang.String key)
For internal use only.
deleteWithString
in class MapFromString
public boolean isMutable()
true
if this map is mutable.
isMutable
in class MapFromString
public void setWithString(java.lang.String key, java.lang.Object value)
For internal use only.
setWithString
in class MapFromString