public class JSONFunction
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
JSONFunction(java.lang.String text)
Constructs a JSONFunction with no parameters.
|
JSONFunction(java.lang.String[] params,
java.lang.String text)
Constructs a JSONFunction with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getParams()
Returns the parameters of this function.
|
java.lang.String |
getText()
Reeturns the text of this function.
|
int |
hashCode() |
static JSONFunction |
parse(java.lang.String str)
Constructs a JSONFunction from a text representation
|
java.lang.String |
toString()
Returns the string representation of this function.
|
public JSONFunction(java.lang.String text)
text - The text of the functionpublic JSONFunction(java.lang.String[] params,
java.lang.String text)
params - The parameters of the functiontext - The text of the functionpublic static JSONFunction parse(java.lang.String str)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String[] getParams()
public java.lang.String getText()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2006-2013 Json-lib. All Rights Reserved.