JsonValue.ValueType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares the specified object with this
JsonString for equality. |
CharSequence |
getChars()
Returns the char sequence for the JSON String value
|
String |
getString()
Returns the JSON string value.
|
int |
hashCode()
Returns the hash code value for this
JsonString object. |
getValueType, toString
String getString()
CharSequence getChars()
boolean equals(Object obj)
JsonString
for equality.
Returns true
if and only if the specified object is also a
JsonString
, and their getString()
objects are
equal.int hashCode()
JsonString
object.
The hash code of a JsonString
object is defined to be its
getString()
object's hash code.Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.