Java Doc for Procedure.java in  » Scripting » Kawa » gnu » mapping » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » gnu.mapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gnu.mapping.PropertySet
      gnu.mapping.Procedure

All known Subclasses:   gnu.mapping.Procedure2,  kawa.lang.AutoloadProcedure,  gnu.mapping.Procedure0,  gnu.mapping.ProcedureN,  gnu.mapping.Procedure4,  gnu.mapping.Procedure0or1,  gnu.mapping.Procedure3,  gnu.mapping.Procedure1,  gnu.mapping.Procedure1or2,
Procedure
abstract public class Procedure extends PropertySet (Code)
The abstract parent for all Scheme functions.
author:
   Per Bothner



Constructor Summary
public  Procedure()
    
public  Procedure(String n)
    

Method Summary
public  voidapply(CallContext ctx)
     Call this Procedure using the explicit-CallContext-convention. The input arguments are (by default) in stack.args; the result is written to ctx.consumer.
public static  voidapply(Procedure proc, CallContext ctx)
    
abstract public  Objectapply0()
    
abstract public  Objectapply1(Object arg1)
    
abstract public  Objectapply2(Object arg1, Object arg2)
    
abstract public  Objectapply3(Object arg1, Object arg2, Object arg3)
    
abstract public  Objectapply4(Object arg1, Object arg2, Object arg3, Object arg4)
    
abstract public  ObjectapplyN(Object[] args)
    
public  voidcheck0(CallContext ctx)
     Does match0, plus throws exception on argument mismatch.
public  voidcheck1(Object arg1, CallContext ctx)
     Does match1, plus throws exception on argument mismatch.
public  voidcheck2(Object arg1, Object arg2, CallContext ctx)
     Does match, plus throws exception on argument mismatch.
public  voidcheck3(Object arg1, Object arg2, Object arg3, CallContext ctx)
     Does match3, plus throws exception on argument mismatch.
public  voidcheck4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)
     Does match4, plus throws exception on argument mismatch.
public static  voidcheckArgCount(Procedure proc, int argCount)
     Check that the number of arguments in a call is valid.
public  voidcheckN(Object[] args, CallContext ctx)
     Does matchN, plus throws exception on argument mismatch.
public  ProceduregetSetter()
    
public  StringgetSourceLocation()
    
public  intmatch0(CallContext ctx)
     Pass zero arguments.
public  intmatch1(Object arg1, CallContext ctx)
     Pass one argument.
public  intmatch2(Object arg1, Object arg2, CallContext ctx)
     Pass two arguments.
public  intmatch3(Object arg1, Object arg2, Object arg3, CallContext ctx)
     Pass three arguments.
public  intmatch4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)
     Pass four arguments.
public  intmatchN(Object[] args, CallContext ctx)
    
final public  intmaxArgs()
     Maximum number of arguments allowed, or -1 for unlimited.
final public  intminArgs()
     Minimum number of arguments required.
public  intnumArgs()
     Return minArgs()|(maxArgs<<12).
public  voidset0(Object result)
     If HasSetter, the Procedure is called in the LHS of an assignment.
public  voidset1(Object arg1, Object value)
    
public  voidsetN(Object[] args)
    
public  voidsetSetter(Procedure setter)
    
public  voidsetSourceLocation(String file, int line)
    
public  StringtoString()
    


Constructor Detail
Procedure
public Procedure()(Code)



Procedure
public Procedure(String n)(Code)




Method Detail
apply
public void apply(CallContext ctx) throws Throwable(Code)
Call this Procedure using the explicit-CallContext-convention. The input arguments are (by default) in stack.args; the result is written to ctx.consumer.



apply
public static void apply(Procedure proc, CallContext ctx) throws Throwable(Code)



apply0
abstract public Object apply0() throws Throwable(Code)



apply1
abstract public Object apply1(Object arg1) throws Throwable(Code)



apply2
abstract public Object apply2(Object arg1, Object arg2) throws Throwable(Code)



apply3
abstract public Object apply3(Object arg1, Object arg2, Object arg3) throws Throwable(Code)



apply4
abstract public Object apply4(Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable(Code)



applyN
abstract public Object applyN(Object[] args) throws Throwable(Code)



check0
public void check0(CallContext ctx)(Code)
Does match0, plus throws exception on argument mismatch.



check1
public void check1(Object arg1, CallContext ctx)(Code)
Does match1, plus throws exception on argument mismatch.



check2
public void check2(Object arg1, Object arg2, CallContext ctx)(Code)
Does match, plus throws exception on argument mismatch.



check3
public void check3(Object arg1, Object arg2, Object arg3, CallContext ctx)(Code)
Does match3, plus throws exception on argument mismatch.



check4
public void check4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)(Code)
Does match4, plus throws exception on argument mismatch.



checkArgCount
public static void checkArgCount(Procedure proc, int argCount)(Code)
Check that the number of arguments in a call is valid.
Parameters:
  proc - the Procedure being called
Parameters:
  argCount - the number of arguments in the call
exception:
  WrongArguments - there are too many or toofew actual arguments



checkN
public void checkN(Object[] args, CallContext ctx)(Code)
Does matchN, plus throws exception on argument mismatch.



getSetter
public Procedure getSetter()(Code)



getSourceLocation
public String getSourceLocation()(Code)



match0
public int match0(CallContext ctx)(Code)
Pass zero arguments. non-negative if the match succeeded, else negative.



match1
public int match1(Object arg1, CallContext ctx)(Code)
Pass one argument. non-negative if the match succeeded, else negative.



match2
public int match2(Object arg1, Object arg2, CallContext ctx)(Code)
Pass two arguments. non-negative if the match succeeded, else negative.



match3
public int match3(Object arg1, Object arg2, Object arg3, CallContext ctx)(Code)
Pass three arguments. non-negative if the match succeeded, else negative.



match4
public int match4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx)(Code)
Pass four arguments. non-negative if the match succeeded, else negative.



matchN
public int matchN(Object[] args, CallContext ctx)(Code)



maxArgs
final public int maxArgs()(Code)
Maximum number of arguments allowed, or -1 for unlimited. (May also return -1 if there are keyword arguments, for implementation reasons.)



minArgs
final public int minArgs()(Code)
Minimum number of arguments required.



numArgs
public int numArgs()(Code)
Return minArgs()|(maxArgs<<12).



set0
public void set0(Object result) throws Throwable(Code)
If HasSetter, the Procedure is called in the LHS of an assignment.



set1
public void set1(Object arg1, Object value) throws Throwable(Code)



setN
public void setN(Object[] args) throws Throwable(Code)



setSetter
public void setSetter(Procedure setter)(Code)



setSourceLocation
public void setSourceLocation(String file, int line)(Code)



toString
public String toString()(Code)



Methods inherited from gnu.mapping.PropertySet
public String getName()(Code)(Java Doc)
public Object getProperty(Object key, Object defaultValue)(Code)(Java Doc)
public Object getSymbol()(Code)(Java Doc)
public Object removeProperty(Object key)(Code)(Java Doc)
final public void setName(String name)(Code)(Java Doc)
public synchronized void setProperty(Object key, Object value)(Code)(Java Doc)
public static Object[] setProperty(Object[] properties, Object key, Object value)(Code)(Java Doc)
final public void setSymbol(Object name)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.