Class DotReferenceMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- com.inductiveautomation.perspective.gateway.script.DotReferenceMap
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
public class DotReferenceMap extends java.util.HashMap<java.lang.String,java.lang.Object>
This is used for when you want to give a map to a script, but you want the map to also act like a python object, meaning, its keys can be referenced like this: myMap['key'] or like this myMap.key- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DotReferenceMap.Adapter
-
Constructor Summary
Constructors Constructor Description DotReferenceMap(java.util.Map<java.lang.String,java.lang.Object> copy)
-
Method Summary
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-