org.crsh.util
Class ServletContextMap

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by org.crsh.util.ServletContextMap
All Implemented Interfaces:
Map<String,Object>

public class ServletContextMap
extends AbstractMap<String,Object>

Author:
Julien Viet

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
private  ServletContext context
          .
private  AbstractSet<Map.Entry<String,Object>> entries
           
 
Constructor Summary
ServletContextMap(ServletContext context)
           
 
Method Summary
 boolean containsKey(Object key)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

context

private final ServletContext context
.


entries

private AbstractSet<Map.Entry<String,Object>> entries
Constructor Detail

ServletContextMap

public ServletContextMap(ServletContext context)
Method Detail

containsKey

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

get

public Object get(Object key)
Specified by:
get in interface Map<String,Object>
Overrides:
get in class AbstractMap<String,Object>

entrySet

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


Copyright © 2012 eXo Platform SAS. All Rights Reserved.