Package org.eclipse.rap.json
Class JsonObject.Member
- java.lang.Object
-
- org.eclipse.rap.json.JsonObject.Member
-
- Enclosing class:
- JsonObject
public static class JsonObject.Member extends java.lang.ObjectRepresents a member of a JSON object, i.e. a pair of name and value.- Since:
- 2.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()Returns the name of this member.JsonValuegetValue()Returns the value of this member.inthashCode()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of this member.- Returns:
- the name of this member, never
null
-
getValue
public JsonValue getValue()
Returns the value of this member.- Returns:
- the value of this member, never
null
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-