Package ubic.basecode.dataStructure
Class StringToStringSetMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Set<String>>
-
- ubic.basecode.dataStructure.StringToStringSetMap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description StringToStringSetMap()
StringToStringSetMap(Map<String,Set<String>> start)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExpandedSize()
List<String>
getExpandedValues()
Set<String>
getSeenValues()
int
getSize(String key)
void
put(String key, String value)
static DoubleMatrix<String,String>
setMapToMatrix(StringToStringSetMap input)
String
toPrettyString()
Set<String>
whereIs(String value)
-
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
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
setMapToMatrix
public static DoubleMatrix<String,String> setMapToMatrix(StringToStringSetMap input)
- Parameters:
input
-- Returns:
-
getExpandedSize
public int getExpandedSize()
-
getSize
public int getSize(String key)
-
toPrettyString
public String toPrettyString()
-
-