com.caucho.quercus.env
Class ProSymbolMap

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

public class ProSymbolMap
extends java.util.AbstractMap<StringValue,EnvVar>

Represents the Quercus 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
ProSymbolMap(IntMap intMap, Var[] values)
           
 
Method Summary
 java.util.Set<java.util.Map.Entry<StringValue,EnvVar>> entrySet()
           
 EnvVar get(java.lang.Object key)
          Returns the matching value, or null.
 EnvVar get(StringValue key)
          Returns the matching value, or null.
 Var getVar(StringValue key)
          Returns the matching value, or null.
 EnvVar put(StringValue key, EnvVar 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

ProSymbolMap

public ProSymbolMap(IntMap intMap,
                    Var[] values)
Method Detail

get

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

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

get

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


getVar

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


put

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

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

entrySet

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