@Test public void testBinSize() { DataStorage.setDefaultBin(BinLabel.BIN_TRAIN); DataStorage.add(fv); assertEquals("DataStorage.binSize failed to add in BIN_TRAIN", DataStorage.binSize(BinLabel.BIN_TRAIN), 1); DataStorage.clear(BinLabel.BIN_TRAIN); }
public static int binSize(BinLabel binLabel) { if (!data.containsKey(binLabel)) return 0; return data.get(binLabel).size(); }
DataStorage { public static int binSize(BinLabel binLabel) { if (!data.containsKey(binLabel)) return 0; return data.get(binLabel).size(); } }
DataStorage { public static int binSize(BinLabel binLabel) { if (!data.containsKey(binLabel)) return 0; return data.get(binLabel).size(); }  }
DataStorage { public static int binSize(BinLabel binLabel) { if (!data.containsKey(binLabel)) return 0; return data.get(binLabel).size(); }  static synchronized FeatureVector get(BinLabel binLabel, int index); static List<FeatureVector> getAll(BinLabel binLabel); static synchronized void add(BinLabel binLabel, FeatureVector fv); static synchronized void clear(BinLabel binLabel); static int binSize(BinLabel binLabel); static synchronized void add(FeatureVector fv); static synchronized FeatureVector getMostRecent(); static synchronized void setDefaultBin(BinLabel binLabel); static void setMaxRecent(int maxRecents); }
DataStorage { public static int binSize(BinLabel binLabel) { if (!data.containsKey(binLabel)) return 0; return data.get(binLabel).size(); }  static synchronized FeatureVector get(BinLabel binLabel, int index); static List<FeatureVector> getAll(BinLabel binLabel); static synchronized void add(BinLabel binLabel, FeatureVector fv); static synchronized void clear(BinLabel binLabel); static int binSize(BinLabel binLabel); static synchronized void add(FeatureVector fv); static synchronized FeatureVector getMostRecent(); static synchronized void setDefaultBin(BinLabel binLabel); static void setMaxRecent(int maxRecents);  }