Collections.EMPTY_MAP on J2SE 1.3 or later.public class EmptyMap extends Object implements Map, Cloneable
remove(Object), clear() and
putAll(Map) with an empty Map as parameter are supported
operations (and do nothing) since FreeMarker 2.3.20.| Constructor and Description |
|---|
EmptyMap()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(Object arg0)
Deprecated.
|
boolean |
containsValue(Object arg0)
Deprecated.
|
Set |
entrySet()
Deprecated.
|
Object |
get(Object arg0)
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
Set |
keySet()
Deprecated.
|
Object |
put(Object arg0,
Object arg1)
Deprecated.
|
void |
putAll(Map arg0)
Deprecated.
|
Object |
remove(Object arg0)
Deprecated.
|
int |
size()
Deprecated.
|
Collection |
values()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final EmptyMap instance
public boolean containsKey(Object arg0)
containsKey in interface Mappublic boolean containsValue(Object arg0)
containsValue in interface Mappublic Collection values()
Copyright © 2016. All Rights Reserved.