public class InstanceData extends Object
Constructor and Description |
---|
InstanceData() |
Modifier and Type | Method and Description |
---|---|
SortedSet<Long> |
getAllInstanceIds(String label,
int run,
int fold)
get all the instance ids for the specified scope
|
SortedMap<String,SortedSet<String>> |
getLabelToClassMap() |
SortedMap<String,SortedMap<Integer,SortedMap<Integer,SortedMap<Boolean,SortedMap<Long,String>>>>> |
getLabelToInstanceMap() |
void |
setLabelToClassMap(SortedMap<String,SortedSet<String>> labelToClassMap) |
void |
setLabelToInstanceMap(SortedMap<String,SortedMap<Integer,SortedMap<Integer,SortedMap<Boolean,SortedMap<Long,String>>>>> labelToInstanceMap) |
public SortedMap<String,SortedMap<Integer,SortedMap<Integer,SortedMap<Boolean,SortedMap<Long,String>>>>> getLabelToInstanceMap()
public void setLabelToInstanceMap(SortedMap<String,SortedMap<Integer,SortedMap<Integer,SortedMap<Boolean,SortedMap<Long,String>>>>> labelToInstanceMap)
public void setLabelToClassMap(SortedMap<String,SortedSet<String>> labelToClassMap)
public SortedSet<Long> getAllInstanceIds(String label, int run, int fold)
label
- if null, then all instance ids, else if run & fold = 0, then
all instance ids for this label.run
- fold
- if run & fold != 0, then all instance ids for the specified
foldCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.