com.zuunr.json.JsonObjectInternalCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json Show documentation
Show all versions of json Show documentation
Immutable JSON representation in Java
package com.zuunr.json;
import java.util.HashMap;
public class JsonObjectInternalCache implements KeyValuePairs {
HashMap cachedValues;
boolean isRecursiveCache = false;
JsonArray keys;
JsonArray values;
@Override
public JsonValue getKey(int index) {
return keys.get(index);
}
@Override
public JsonValue getValue(int index) {
return values.get(index);
}
@Override
public int getSize() {
return keys.size();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy