public class Member
extends java.lang.Object
Constructor and Description |
---|
Member(java.lang.String name,
JsonValue value)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Indicates whether a given object is "equal to" this JsonObject.
|
java.lang.String |
getName()
Returns the name of this member.
|
JsonValue |
getValue()
Returns the value of this member.
|
int |
hashCode() |
public Member(java.lang.String name, JsonValue value)
name
- namevalue
- valuepublic java.lang.String getName()
null
public JsonValue getValue()
null
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
JsonObject
and both objects contain the same members in
the same order.
If two JsonObjects are equal, they will also produce the same JSON output.
equals
in class java.lang.Object
object
- the object to be compared with this JsonObjectfalse
otherwise