程序包 com.sh.json
类 JSONFunction
java.lang.Object
com.sh.json.JSONFunction
- 所有已实现的接口:
Serializable
JSONFunction represents a javaScript function's text.
- 另请参阅:
-
构造器概要
构造器构造器说明JSONFunction(String text) Constructs a JSONFunction with no parameters.JSONFunction(String[] params, String text) Constructs a JSONFunction with parameters. -
方法概要
修饰符和类型方法说明booleanString[]Returns the parameters of this function.getText()Reeturns the text of this function.inthashCode()static JSONFunctionConstructs a JSONFunction from a text representationtoString()Returns the string representation of this function.
-
构造器详细资料
-
JSONFunction
Constructs a JSONFunction with no parameters.- 参数:
text- The text of the function
-
JSONFunction
Constructs a JSONFunction with parameters.- 参数:
params- The parameters of the functiontext- The text of the function
-
-
方法详细资料
-
parse
Constructs a JSONFunction from a text representation -
equals
-
getParams
Returns the parameters of this function. -
getText
Reeturns the text of this function. -
hashCode
public int hashCode() -
toString
Returns the string representation of this function.
-