@Test public void testDictionary() { assertTrue(data.getDictionary().size() == N); }
@Override public Map<String, Class> getDictionary() { LinkedHashMap<String, Class> dic = new LinkedHashMap<>(); for (int i = 0; i < ts.length; ++i) { dic.put(encode(i), TsData.class); } return dic; }
MultiTsData implements IProcResults { @Override public Map<String, Class> getDictionary() { LinkedHashMap<String, Class> dic = new LinkedHashMap<>(); for (int i = 0; i < ts.length; ++i) { dic.put(encode(i), TsData.class); } return dic; } }
MultiTsData implements IProcResults { @Override public Map<String, Class> getDictionary() { LinkedHashMap<String, Class> dic = new LinkedHashMap<>(); for (int i = 0; i < ts.length; ++i) { dic.put(encode(i), TsData.class); } return dic; } MultiTsData(String name, TsData[] ts); }
MultiTsData implements IProcResults { @Override public Map<String, Class> getDictionary() { LinkedHashMap<String, Class> dic = new LinkedHashMap<>(); for (int i = 0; i < ts.length; ++i) { dic.put(encode(i), TsData.class); } return dic; } MultiTsData(String name, TsData[] ts); String getName(); TsData[] getSeries(); @Override boolean contains(String id); @Override Map<String, Class> getDictionary(); @Override T getData(String id, Class<T> tclass); @Override List<ProcessingInformation> getProcessingInformation(); }
MultiTsData implements IProcResults { @Override public Map<String, Class> getDictionary() { LinkedHashMap<String, Class> dic = new LinkedHashMap<>(); for (int i = 0; i < ts.length; ++i) { dic.put(encode(i), TsData.class); } return dic; } MultiTsData(String name, TsData[] ts); String getName(); TsData[] getSeries(); @Override boolean contains(String id); @Override Map<String, Class> getDictionary(); @Override T getData(String id, Class<T> tclass); @Override List<ProcessingInformation> getProcessingInformation();  }