|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.lib.spl.ArrayAccessDelegate
public class ArrayAccessDelegate
A delegate that intercepts array access methods on the
target objects that implement
the ArrayAccess interface.
| Constructor Summary | |
|---|---|
ArrayAccessDelegate()
|
|
| Method Summary | |
|---|---|
long |
count(ObjectValue qThis)
Returns the array count |
Value |
get(ObjectValue qThis,
Value index)
Returns the value for the specified key. |
boolean |
isset(ObjectValue qThis,
Value index)
Returns true if the value is set |
Value |
put(ObjectValue qThis,
Value index)
Appends a value. |
Value |
put(ObjectValue qThis,
Value index,
Value value)
Sets the value for the spoecified key. |
Value |
unset(ObjectValue qThis,
Value index)
Removes the value at the speified key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayAccessDelegate()
| Method Detail |
|---|
public Value get(ObjectValue qThis,
Value index)
ArrayDelegate
get in interface ArrayDelegate
public Value put(ObjectValue qThis,
Value index,
Value value)
ArrayDelegate
put in interface ArrayDelegate
public Value put(ObjectValue qThis,
Value index)
ArrayDelegate
put in interface ArrayDelegate
public boolean isset(ObjectValue qThis,
Value index)
ArrayDelegate
isset in interface ArrayDelegate
public Value unset(ObjectValue qThis,
Value index)
ArrayDelegate
unset in interface ArrayDelegatepublic long count(ObjectValue qThis)
ArrayDelegate
count in interface ArrayDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||