com.caucho.quercus.env
Class LazyStaticMap

java.lang.Object
  extended by java.util.AbstractMap<StringValue,Var>
      extended by com.caucho.quercus.env.LazyStaticMap
All Implemented Interfaces:
java.util.Map<StringValue,Var>

public class LazyStaticMap
extends java.util.AbstractMap<StringValue,Var>

Represents the Quercus static environment.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
LazyStaticMap(IntMap intMap, Value[] values)
           
 
Method Summary
 java.util.Set<java.util.Map.Entry<StringValue,Var>> entrySet()
           
 Var get(java.lang.Object key)
          Returns the matching value, or null.
 Var get(StringValue key)
          Returns the matching value, or null.
 Var put(StringValue key, Var newVar)
          Returns the matching value, or null.
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyStaticMap

public LazyStaticMap(IntMap intMap,
                     Value[] values)
Method Detail

get

public Var get(java.lang.Object key)
Returns the matching value, or null.

Specified by:
get in interface java.util.Map<StringValue,Var>
Overrides:
get in class java.util.AbstractMap<StringValue,Var>

get

public Var get(StringValue key)
Returns the matching value, or null.


put

public Var put(StringValue key,
               Var newVar)
Returns the matching value, or null.

Specified by:
put in interface java.util.Map<StringValue,Var>
Overrides:
put in class java.util.AbstractMap<StringValue,Var>

entrySet

public java.util.Set<java.util.Map.Entry<StringValue,Var>> entrySet()
Specified by:
entrySet in interface java.util.Map<StringValue,Var>
Specified by:
entrySet in class java.util.AbstractMap<StringValue,Var>