Class CorrelationMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Long,CorrelationValue>
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.CorrelationMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Long,
CorrelationValue>
Holds the UID of a click and the correlation value.
- Author:
- Jamie Macaulay
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the master unit UID.void
setDataUnitUID
(long dataUnitUID) The master unit UID.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
CorrelationMap
public CorrelationMap(long unitUID)
-
-
Method Details
-
getDataUnitUID
public long getDataUnitUID()Get the master unit UID. All correlations are with respect ot the master unit.- Returns:
- the master unit UID.
-
setDataUnitUID
public void setDataUnitUID(long dataUnitUID) The master unit UID.- Parameters:
dataUnitUID
- - the unit UID.
-