org.dasein.util
Class PseudoMap<K,V>
java.lang.Object
org.dasein.util.PseudoMap<K,V>
- Type Parameters:
K - the type for keys to the mapV - the type of values in the map
- All Implemented Interfaces:
- Map<K,V>
- Direct Known Subclasses:
- AttributeMap, DataTypeMap, Translator
public abstract class PseudoMap<K,V>
- extends Object
- implements Map<K,V>
Convenience class for things that should "look like" a Map for the
purposes of JSTL, yet are not truly maps.
Last modified: $Date: 2005/08/29 01:39:09 $
- Version:
- $Revision: 1.4 $
- Author:
- george
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PseudoMap
public PseudoMap()
clear
public void clear()
- Does nothing.
- Specified by:
clear in interface Map<K,V>
putAll
public void putAll(Map<? extends K,? extends V> map)
- Does nothing.
- Specified by:
putAll in interface Map<K,V>
remove
public V remove(Object key)
- Specified by:
remove in interface Map<K,V>
- Parameters:
key - ignored
- Returns:
- never returns
- Throws:
UnsupportedOperationException - always thrown
put
public V put(K key,
V val)
- Specified by:
put in interface Map<K,V>
- Parameters:
key - ignoredval - ignored
- Returns:
- never returns
- Throws:
UnsupportedOperationException - always thrown
Copyright © 2011 enStratus Networks LLC. All Rights Reserved.