public class LinkedJSONObject
extends org.json.simple.JSONObject
JSONObject
that keeps the order of added elements.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LinkedJSONObject() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
boolean |
equals(Object o) |
Object |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map m) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
escape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONString
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, newHashMap, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class HashMap
public boolean containsValue(Object value)
containsValue
in interface Map
containsValue
in class HashMap
public Set entrySet()
public boolean equals(Object o)
equals
in interface Map
equals
in class AbstractMap
public int hashCode()
hashCode
in interface Map
hashCode
in class AbstractMap
public boolean isEmpty()
public void putAll(Map m)
public Collection values()