Package com.inductiveautomation.rm.shape
Class RMSharedMap
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable
-
- com.inductiveautomation.rm.shape.RMSharedMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map
public class RMSharedMap extends java.util.HashtableAn inner class to hold less-common attributes. Tracks owner shape to facilitate sharing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RMSharedMap()Creates a new map.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RMSharedMapclone()Overrides hashtable method to just mark hashtable shared and return it.RMSharedMapcloneX()Provides real clone implementation.static RMSharedMapgetShared()Returns an empty shared map.booleanisShared()Returns whether map is already being shared.-
Methods inherited from class java.util.Hashtable
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
Method Detail
-
getShared
public static RMSharedMap getShared()
Returns an empty shared map.
-
isShared
public boolean isShared()
Returns whether map is already being shared.
-
clone
public RMSharedMap clone()
Overrides hashtable method to just mark hashtable shared and return it.- Overrides:
clonein classjava.util.Hashtable
-
cloneX
public RMSharedMap cloneX()
Provides real clone implementation.
-
-