org.crsh.util
Class SimpleMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.crsh.util.SimpleMap<K,V>
All Implemented Interfaces:
Map<K,V>
Direct Known Subclasses:
ServletContextMap, SpringMap

public abstract class SimpleMap<K,V>
extends AbstractMap<K,V>


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  AbstractSet<Map.Entry<K,V>> entries
           
 
Constructor Summary
SimpleMap()
           
 
Method Summary
 boolean containsKey(Object key)
           
 Set<Map.Entry<K,V>> entrySet()
           
abstract  V get(Object key)
           
protected abstract  Iterator<K> keys()
           
 
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

entries

private AbstractSet<Map.Entry<K,V>> entries
Constructor Detail

SimpleMap

public SimpleMap()
Method Detail

keys

protected abstract Iterator<K> keys()

get

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

containsKey

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

entrySet

public final Set<Map.Entry<K,V>> entrySet()
Specified by:
entrySet in interface Map<K,V>
Specified by:
entrySet in class AbstractMap<K,V>


Copyright © 2014 eXo Platform SAS. All Rights Reserved.