|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.maps.jsio.client.JSOpaque
public class JSOpaque
Allows by-name references to JavaScript values. This is intended for use with opaque values such as those used in enumeration-like types.
| Constructor Summary | |
|---|---|
JSOpaque(java.lang.String reference)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(JSOpaque o)
Object identity between JSOpaque instances is based on their reference. |
boolean |
equals(java.lang.Object o)
Allows comparisons of the JSOpaque to JavaScriptObjects. |
int |
hashCode()
|
boolean |
identityEquals(JSOpaque o)
Convenience method for comparing object identity. |
boolean |
identityEquals(java.lang.Object o)
Convenience method for comparing object identity. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JSOpaque(java.lang.String reference)
reference - A named reference to a globally-defined value.| Method Detail |
|---|
public final boolean equals(JSOpaque o)
true if the other JSOpaque has the same reference.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final boolean identityEquals(JSOpaque o)
true if the value represented by the JSOpaque shares
identity with the value represented by o.public final boolean identityEquals(java.lang.Object o)
true if the value represented by the JSOpaque shares
identity with opublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||