AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TaxaLevelTable(String level) |
Modifier and Type | Method and Description |
---|---|
Double |
addValue(String sample,
String taxon,
Double value) |
float |
fillEmptyVals()
Replace all null values in the maps with 0.
|
float |
fillEmptyVals(Double value)
Replace all null values in the maps with the given value.
|
String |
getLevel() |
List<String> |
listSamples() |
List<String> |
listTaxa() |
HashMap<String,Double> |
newSampleRow(String sampleID) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public TaxaLevelTable(String level)
public String getLevel()
public float fillEmptyVals()
public float fillEmptyVals(Double value)
value
- new value to use in place of null