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 TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
int
hashCode()
boolean
isEmpty()
keySet()
void
putIfAbsent
(String key, Object value) boolean
boolean
int
size()
values()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:
containsKey
in interfaceMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
entrySet
-
equals
-
get
-
hashCode
-
isEmpty
-
keySet
-
put
-
putIfAbsent
- Specified by:
putIfAbsent
in interfaceConcurrentMap<String,
Object> - Specified by:
putIfAbsent
in interfaceMap<String,
Object>
-
putAll
-
remove
-
remove
-
replace
-
replace
-
size
-
values
-