jsint
Class JavaConstructor
java.lang.Object
|
+--jsint.Procedure
|
+--jsint.Reflector
|
+--jsint.StaticReflector
|
+--jsint.JavaConstructor
- All Implemented Interfaces:
- java.lang.Runnable, SchemeProcedure, java.io.Serializable
- public class JavaConstructor
- extends StaticReflector
Provides dynamic constructors.
- Author:
- Peter Norvig, Copyright 1998, peter@norvig.com, license
subsequently modified by Jscheme project members
licensed under zlib licence (see license.txt)
- See Also:
- Serialized Form
|
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. |
protected void |
reset()
Reset your classpath dependent state. |
| Methods inherited from class jsint.Procedure |
apply, apply, catching, getName, nParms, run, setName, synchronize, throwObject, throwRuntimeException, toString, toStringArgs, tryCatch, tryFinally |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JavaConstructor
public JavaConstructor(java.lang.Class c)
- Depricated!
JavaConstructor
public JavaConstructor(java.lang.String c,
boolean canAccessPrivateData)
JavaConstructor
public JavaConstructor(java.lang.String c)
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)}.
- Overrides:
apply in class Procedure
reset
protected void reset()
- Description copied from class:
Reflector
- Reset your classpath dependent state. This method can't be
abstract.
- Overrides:
reset in class Reflector