net.sf.morph.context.support
Class ContextMapBridge
java.lang.Object
net.sf.morph.context.support.ContextMapBridge
public class ContextMapBridge
- extends java.lang.Object
A bridge between the Context and Map APIs; this class can be used to
implement the methods in the Map interface.
- Since:
- Nov 22, 2004
- Author:
- Matt Sgarlata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextMapBridge
public ContextMapBridge()
getDelegate
protected java.lang.Object getDelegate(Context context)
size
public int size(Context context)
clear
public void clear(Context context)
isEmpty
public boolean isEmpty(Context context)
containsKey
public boolean containsKey(Context context,
java.lang.Object key)
containsValue
public boolean containsValue(Context context,
java.lang.Object value)
values
public java.util.Collection values(Context context)
putAll
public void putAll(Context context,
java.util.Map t)
entrySet
public java.util.Set entrySet(Context context)
keySet
public java.util.Set keySet(Context context)
get
public java.lang.Object get(Context context,
java.lang.Object key)
remove
public java.lang.Object remove(Context context,
java.lang.Object key)
put
public java.lang.Object put(Context context,
java.lang.Object key,
java.lang.Object value)
checkContextNotNull
protected Context checkContextNotNull(Context context)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getPropertyNames
protected java.lang.String[] getPropertyNames(Context context)
- Convenience method
- Parameters:
context
- non-null Context
- Returns:
- propertyNames
- Since:
- Morph 1.1
Copyright © 2004-2008.