org.crsh.command.impl
Class AttributesMap

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

public class AttributesMap
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  InvocationContext<?,?> context
          .
private  Map<String,Object> delegate
          .
private  Set<Map.Entry<String,Object>> entries
          .
private  Map.Entry<String,Object> out
           
 
Constructor Summary
AttributesMap(InvocationContext<?,?> context, Map<String,Object> delegate)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
 Object put(String key, Object value)
           
 Object remove(Object key)
           
 
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

context

private InvocationContext<?,?> context
.


delegate

private Map<String,Object> delegate
.


entries

private Set<Map.Entry<String,Object>> entries
.


out

private Map.Entry<String,Object> out
Constructor Detail

AttributesMap

public AttributesMap(InvocationContext<?,?> context,
                     Map<String,Object> delegate)
Method Detail

get

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

put

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

containsKey

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

remove

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

clear

public void clear()
Specified by:
clear in interface Map<String,Object>
Overrides:
clear 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.