com.caucho.quercus.env
Class ArrayValue.Entry

java.lang.Object
  extended by com.caucho.quercus.env.ArrayValue.Entry
All Implemented Interfaces:
java.io.Serializable, java.util.Map.Entry<Value,Value>
Direct Known Subclasses:
JavaCollectionAdapter.CollectionValueEntry, JavaMapAdapter.MapEntry
Enclosing class:
ArrayValue

public static class ArrayValue.Entry
extends java.lang.Object
implements java.util.Map.Entry<Value,Value>, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ArrayValue.Entry(Value key)
           
ArrayValue.Entry(Value key, Value value)
           
 
Method Summary
 Value getKey()
           
 ArrayValue.Entry getNext()
           
 Value getRawValue()
           
 Value getValue()
           
protected  void printRImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet)
           
 Value setValue(Value value)
           
 Value toArg()
           
 Value toArgRef()
          Converts to a variable reference (for function arguments)
 Value toArgValue()
          Converts to an argument value.
 Value toRef()
          Converts to a variable reference (for function arguments)
 Var toRefVar()
          Argument used/declared as a ref.
 java.lang.String toString()
           
 Value toValue()
           
 void varDumpImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

ArrayValue.Entry

public ArrayValue.Entry(Value key)

ArrayValue.Entry

public ArrayValue.Entry(Value key,
                        Value value)
Method Detail

getNext

public ArrayValue.Entry getNext()

getRawValue

public Value getRawValue()

getValue

public Value getValue()
Specified by:
getValue in interface java.util.Map.Entry<Value,Value>

getKey

public Value getKey()
Specified by:
getKey in interface java.util.Map.Entry<Value,Value>

toValue

public Value toValue()

toRefVar

public Var toRefVar()
Argument used/declared as a ref.


toArgValue

public Value toArgValue()
Converts to an argument value.


setValue

public Value setValue(Value value)
Specified by:
setValue in interface java.util.Map.Entry<Value,Value>

toRef

public Value toRef()
Converts to a variable reference (for function arguments)


toArgRef

public Value toArgRef()
Converts to a variable reference (for function arguments)


toArg

public Value toArg()

varDumpImpl

public void varDumpImpl(Env env,
                        WriteStream out,
                        int depth,
                        java.util.IdentityHashMap<Value,java.lang.String> valueSet)
                 throws java.io.IOException
Throws:
java.io.IOException

printRImpl

protected void printRImpl(Env env,
                          WriteStream out,
                          int depth,
                          java.util.IdentityHashMap<Value,java.lang.String> valueSet)
                   throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object