Class AssociativeDataHashMap<KEY,VALUE>
java.lang.Object
com.illumon.iris.db.plot.datasets.data.AssociativeData<KEY,VALUE>
com.illumon.iris.db.plot.datasets.data.AssociativeDataHashMap<KEY,VALUE>
- All Implemented Interfaces:
PlotExceptionCause,Serializable
AssociativeData dataset backed by a HashMap.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value associated with the keybooleanWhether the dataset is modifiable.voidAdds the key-value pair to the dataset.Adds all key-value pairs in the map to the dataset.Methods inherited from class com.illumon.iris.db.plot.datasets.data.AssociativeData
getPlotInfo, onClose, snapshot
-
Constructor Details
-
AssociativeDataHashMap
- Parameters:
plotInfo- plot information
-
-
Method Details
-
get
Description copied from class:AssociativeDataGets the value associated with the key- Specified by:
getin classAssociativeData<KEY,VALUE> - Parameters:
key- key- Returns:
- value associated with the key
-
isModifiable
public boolean isModifiable()Description copied from class:AssociativeDataWhether the dataset is modifiable.- Specified by:
isModifiablein classAssociativeData<KEY,VALUE> - Returns:
- true if the dataset is modifiable, false if not
-
put
Description copied from class:AssociativeDataAdds the key-value pair to the dataset.- Specified by:
putin classAssociativeData<KEY,VALUE> - Parameters:
key- keyvalue- value
-
putAll
Description copied from class:AssociativeDataAdds all key-value pairs in the map to the dataset.- Specified by:
putAllin classAssociativeData<KEY,VALUE> - Type Parameters:
K- type of the keys invaluesV- type of the values invalues- Parameters:
values- keypair map
-