com.rubecula.darwin.foundation
Class ExpressionMap
java.lang.Object
com.rubecula.darwin.foundation.ExpressionMap
public class ExpressionMap
- extends java.lang.Object
- Author:
- Robin Hillyard
TODO consider extending AToString
Method Summary |
com.rubecula.jexpression.EvalExpressionMutable |
addExpression(java.lang.String key,
com.rubecula.jexpression.EvalExpressionMutable value)
TODO consider renaming this as putExpression. |
void |
clear()
|
boolean |
equals(java.lang.Object obj)
|
com.rubecula.jexpression.EvalExpressionMutable |
get(java.lang.Object key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
java.util.Set<java.lang.String> |
keySet()
|
void |
putAll(ExpressionMap map)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ExpressionMap
public ExpressionMap()
addExpression
public com.rubecula.jexpression.EvalExpressionMutable addExpression(java.lang.String key,
com.rubecula.jexpression.EvalExpressionMutable value)
- TODO consider renaming this as putExpression.
- Parameters:
key
- value
-
- Returns:
- the previous value, if any
- See Also:
Map.put(java.lang.Object, java.lang.Object)
clear
public void clear()
- See Also:
Map.clear()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
get
public com.rubecula.jexpression.EvalExpressionMutable get(java.lang.Object key)
- Parameters:
key
-
- Returns:
- the
- See Also:
Map.get(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
isEmpty
public boolean isEmpty()
- Returns:
- value of
Map.isEmpty()
for _map
- See Also:
Map.isEmpty()
keySet
public java.util.Set<java.lang.String> keySet()
- Returns:
- value of
Map.keySet()
for _map
- See Also:
Map.keySet()
putAll
public void putAll(ExpressionMap map)
- Parameters:
map
- the map to be merged in with this.- See Also:
Map.putAll(java.util.Map)
size
public int size()
- Returns:
- value of
Map.size()
for _map
- See Also:
Map.size()
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.