public class Code
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Code(java.lang.String code)
Construct a new instance with the given code.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCode()
Get the Javascript code.
|
int |
hashCode() |
java.lang.String |
toString() |
public Code(java.lang.String code)
code
- the Javascript codepublic java.lang.String getCode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object