public abstract class MapBase
extends java.lang.Object
Base class for strongly-typed maps.
Constructor and Description |
---|
MapBase() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Remove all entries from this map.
|
abstract UntypedMap |
getUntypedMap()
The underlying untyped map.
|
int |
size()
The number of entries in this map.
|
java.lang.String |
toString() |
public void clear()
Remove all entries from this map.
public abstract UntypedMap getUntypedMap()
The underlying untyped map. Use with care, avoiding the addition of entries with an incorrect key or value type.
public int size()
The number of entries in this map.
public java.lang.String toString()
toString
in class java.lang.Object