Package step.core.collections
Class DocumentObject
- java.lang.Object
-
- step.core.collections.DocumentObject
-
-
Constructor Summary
Constructors Constructor Description DocumentObject()DocumentObject(Map<String,Object> map)
-
Method Summary
-
-
-
Method Detail
-
getObject
public DocumentObject getObject(String key)
-
getArray
public List<DocumentObject> getArray(String key)
-
getBoolean
public boolean getBoolean(String key)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Object>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
getOrDefault
public Object getOrDefault(Object key, Object defaultValue)
- Specified by:
getOrDefaultin interfaceMap<String,Object>
-
forEach
public void forEach(BiConsumer<? super String,? super Object> action)
-
replaceAll
public void replaceAll(BiFunction<? super String,? super Object,? extends Object> function)
- Specified by:
replaceAllin interfaceMap<String,Object>
-
putIfAbsent
public Object putIfAbsent(String key, Object value)
- Specified by:
putIfAbsentin interfaceMap<String,Object>
-
computeIfAbsent
public Object computeIfAbsent(String key, Function<? super String,? extends Object> mappingFunction)
- Specified by:
computeIfAbsentin interfaceMap<String,Object>
-
computeIfPresent
public Object computeIfPresent(String key, BiFunction<? super String,? super Object,? extends Object> remappingFunction)
- Specified by:
computeIfPresentin interfaceMap<String,Object>
-
compute
public Object compute(String key, BiFunction<? super String,? super Object,? extends Object> remappingFunction)
-
-