freemarker.template
Class EmptyMap

java.lang.Object
  extended by freemarker.template.EmptyMap
All Implemented Interfaces:
Cloneable, Map

public class EmptyMap
extends Object
implements Map, Cloneable


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
static EmptyMap instance
           
 
Constructor Summary
EmptyMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object arg0)
           
 boolean containsValue(Object arg0)
           
 Set entrySet()
           
 Object get(Object arg0)
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object arg0, Object arg1)
           
 void putAll(Map arg0)
           
 Object remove(Object arg0)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

instance

public static final EmptyMap instance
Constructor Detail

EmptyMap

public EmptyMap()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map

containsKey

public boolean containsKey(Object arg0)
Specified by:
containsKey in interface Map

containsValue

public boolean containsValue(Object arg0)
Specified by:
containsValue in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map

get

public Object get(Object arg0)
Specified by:
get in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

put

public Object put(Object arg0,
                  Object arg1)
Specified by:
put in interface Map

putAll

public void putAll(Map arg0)
Specified by:
putAll in interface Map

remove

public Object remove(Object arg0)
Specified by:
remove in interface Map

size

public int size()
Specified by:
size in interface Map

values

public Collection values()
Specified by:
values in interface Map