|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.datadosen.util.Scope
public class Scope
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary | |
|---|---|
protected java.util.Map |
map
|
protected Scope |
outer
|
| Constructor Summary | |
|---|---|
Scope()
|
|
Scope(java.util.Map map)
|
|
Scope(java.util.Map map,
Scope outer)
|
|
Scope(Scope outer)
|
|
| Method Summary | |
|---|---|
void |
clear()
clear |
boolean |
containsKey(java.lang.Object key)
containsKey |
boolean |
containsValue(java.lang.Object value)
containsValue |
java.util.Set |
entrySet()
entrySet |
boolean |
equals(java.lang.Object o)
equals |
java.util.Map |
flatten()
|
protected java.util.Map |
flatten2()
|
java.lang.Object |
get(java.lang.Object key)
|
java.util.Map |
getMap()
|
Scope |
getOuter()
|
int |
hashCode()
Returns the hash code value for this map. |
boolean |
isEmpty()
isEmpty |
java.util.Set |
keySet()
keySet |
Scope |
push(java.util.Map map)
Make a new scope where the passed Map is put before (inner) the existing scope This scope is left untouched. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map more)
|
Scope |
remove(java.util.Map map)
Remove map from this scope or any outer scope Return this scope or outer scope if map == this scope |
java.lang.Object |
remove(java.lang.Object key)
|
void |
setOuter(Scope outer)
|
int |
size()
DOCUMENT ME! |
java.lang.String |
toString()
|
java.util.Collection |
values()
values |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Scope outer
protected java.util.Map map
| Constructor Detail |
|---|
public Scope()
public Scope(Scope outer)
public Scope(java.util.Map map)
public Scope(java.util.Map map,
Scope outer)
| Method Detail |
|---|
public java.lang.Object get(java.lang.Object key)
get in interface java.util.Map
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mappublic void putAll(java.util.Map more)
putAll in interface java.util.Mappublic java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mappublic Scope getOuter()
public void setOuter(Scope outer)
public java.util.Map getMap()
protected java.util.Map flatten2()
public java.util.Map flatten()
public Scope push(java.util.Map map)
map - Map to be added to the inner scope. If null, the existing scope will be used.
public Scope remove(java.util.Map map)
map -
public int size()
size in interface java.util.Mappublic boolean isEmpty()
isEmpty in interface java.util.Mappublic boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Mapkey - Object
public boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Mapvalue - Object
public void clear()
clear in interface java.util.Mappublic java.util.Set keySet()
keySet in interface java.util.Mappublic java.util.Collection values()
values in interface java.util.Mappublic java.util.Set entrySet()
entrySet in interface java.util.Mappublic boolean equals(java.lang.Object o)
equals in interface java.util.Mapequals in class java.lang.Objecto - Object
public int hashCode()
This implementation iterates over entrySet(), calling hashCode on each element (entry) in the Collection, and adding up the results.
hashCode in interface java.util.MaphashCode in class java.lang.ObjectMap.Entry#hashCode(),
Object.hashCode(),
Object.equals(Object),
Set.equals(Object)public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||