org.hippoecm.hst.util
Class NOOPELMap

java.lang.Object
  extended by org.hippoecm.hst.util.NOOPELMap
All Implemented Interfaces:
Map<Object,Object>
Direct Known Subclasses:
HippoItem.ComparatorMap, HippoStdNode.ComparatorMap

public class NOOPELMap
extends Object
implements Map<Object,Object>

A NOOP map implementation which can be used to extend for simple expression language maps.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
NOOPELMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<Object,Object>> entrySet()
           
 Object get(Object key)
           
 boolean isEmpty()
           
 Set<Object> keySet()
           
 Object put(Object key, Object value)
           
 void putAll(Map t)
           
 Object remove(Object key)
           
 int size()
           
 Collection<Object> 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
 

Constructor Detail

NOOPELMap

public NOOPELMap()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<Object,Object>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<Object,Object>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<Object,Object>

entrySet

public Set<Map.Entry<Object,Object>> entrySet()
Specified by:
entrySet in interface Map<Object,Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<Object,Object>

keySet

public Set<Object> keySet()
Specified by:
keySet in interface Map<Object,Object>

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map<Object,Object>

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map<Object,Object>

remove

public Object remove(Object key)
Specified by:
remove in interface Map<Object,Object>

size

public int size()
Specified by:
size in interface Map<Object,Object>

values

public Collection<Object> values()
Specified by:
values in interface Map<Object,Object>

get

public Object get(Object key)
Specified by:
get in interface Map<Object,Object>


Copyright © 2008-2012 Hippo. All Rights Reserved.