Class State
java.lang.Object
com.google.adk.sessions.State
A
State object that also keeps track of the changes to the state.-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionState(ConcurrentMap<String, Object> state) State(ConcurrentMap<String, Object> state, ConcurrentMap<String, Object> delta) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanbooleanhasDelta()inthashCode()booleanisEmpty()keySet()voidputIfAbsent(String key, Object value) booleanbooleanintsize()values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Field Details
-
APP_PREFIX
- See Also:
-
USER_PREFIX
- See Also:
-
TEMP_PREFIX
- See Also:
-
-
Constructor Details
-
State
-
State
-
-
Method Details
-
clear
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
entrySet
-
equals
-
get
-
hashCode
-
isEmpty
-
keySet
-
put
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<String,Object> - Specified by:
putIfAbsentin interfaceMap<String,Object>
-
putAll
-
remove
-
remove
-
replace
-
replace
-
size
-
values
-
hasDelta
public boolean hasDelta()
-