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 com.sap.cloud.server.odata.core.UntypedMap |
getUntypedMap()
Return the underlying untyped map.
|
boolean |
isEmpty()
Return
true if this map contains no entries. |
int |
size()
Return the number of entries in this map.
|
java.lang.String |
toString() |
public void clear()
Remove all entries from this map.
public abstract com.sap.cloud.server.odata.core.UntypedMap getUntypedMap()
Return the underlying untyped map. Use with care, avoiding the addition of entries with an incorrect key or value type.
public boolean isEmpty()
Return true
if this map contains no entries.
true
if this map contains no entries.public int size()
Return the number of entries in this map.
public java.lang.String toString()
toString
in class java.lang.Object