de.unkrig.commons.text.json
Class Json.Array
java.lang.Object
de.unkrig.commons.text.json.Json.Array
- All Implemented Interfaces:
- Json.Value
- Enclosing class:
- Json
public static class Json.Array
- extends java.lang.Object
- implements Json.Value
Representation of a JSON 'array'.
|
Field Summary |
java.util.List<Json.Value> |
elements
The (unmodifiable and constant) list of array elements. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
elements
public final java.util.List<Json.Value> elements
- The (unmodifiable and constant) list of array elements.
Json.Array
public Json.Array(java.util.List<Json.Value> values)
accept
public void accept(Json.ValueVisitor visitor)
- Description copied from interface:
Json.Value
- Invokes the value type-specific '
visit...()' method of Json.ValueVisitor.
- Specified by:
accept in interface Json.Value
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(@Nullable
java.lang.Object obj)
- Overrides:
equals in class java.lang.Object