public class Validation extends Object
Constructor and Description |
---|
Validation() |
Modifier and Type | Method and Description |
---|---|
static HashMap<String,Integer> |
checkDimensionValuesValidity(StatsHypercube hc,
String dimLabel,
Collection<String> expectedDimValues,
boolean print)
Check dimension values are within a list of valid values.
|
static HashMap<String,Integer> |
checkUnicity(StatsHypercube hc)
Check that there is a unique value for each position in the hypercube.
|
static HashMap<String,Integer> |
checkUnicity(StatsIndex index)
Check that there is a unique value for each position in the hypercube.
|
public static HashMap<String,Integer> checkDimensionValuesValidity(StatsHypercube hc, String dimLabel, Collection<String> expectedDimValues, boolean print)
hc
- dimLabel
- expectedDimValues
- print
- public static HashMap<String,Integer> checkUnicity(StatsHypercube hc)
hc
- public static HashMap<String,Integer> checkUnicity(StatsIndex index)
index
- Copyright © 2020. All rights reserved.