|
|||||||||
| Home >> All >> [ silk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
silk
Class JavaField

java.lang.Objectsilk.Procedure
silk.JavaField
- All Implemented Interfaces:
- java.lang.Runnable
- public class JavaField
- extends Procedure
Provides dynamic field access. Static fields could be cached.
| Field Summary | |
(package private) java.lang.Class |
c
|
(package private) java.lang.reflect.Field |
f
|
(package private) boolean |
isStatic
|
| Fields inherited from class silk.Procedure |
maxArgs, minArgs, name |
| Constructor Summary | |
JavaField(java.lang.String name,
java.lang.Class c)
|
|
| Method Summary | |
java.lang.Object |
apply(java.lang.Object[] args)
Apply the procedure to an argument list, which is represented as a parameter-oriented array. |
| Methods inherited from class silk.Procedure |
apply, makeArgArray, makeArgArray, nParms, run, setName, throwObject, throwRuntimeException, toString, toStringArgs, tryCatch, tryFinally |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
c
java.lang.Class c
f
java.lang.reflect.Field f
isStatic
boolean isStatic
| Constructor Detail |
JavaField
public JavaField(java.lang.String name, java.lang.Class c)
| Method Detail |
apply
public java.lang.Object apply(java.lang.Object[] args)
- Description copied from class:
Procedure - Apply the procedure to an argument list, which is represented as a
parameter-oriented array. That is, if the procedure p has the parameter
list (x y . z) and the call is (p 1 2 3 4) then
args will be the array {1, 2, (3 4)}.
|
|||||||||
| Home >> All >> [ silk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC