@Test public void testListSeaCloudsApplicationData() { assertEquals(dataStore.listSeaCloudsApplicationData().size(), INITIAL_DATASTORE_SIZE); }
public List<SeaCloudsApplicationData> listSeaCloudsApplicationData() { ConcurrentNavigableMap<String, SeaCloudsApplicationData> treeMap = dataStore.getTreeMap(SEACLOUDS_APPLICATION_DATA_COLLECTION_TAG); Collection<SeaCloudsApplicationData> seaCloudsApplicationDataCollection = treeMap.values(); return new ArrayList<>(seaCloudsApplicationDataCollection); }
SeaCloudsApplicationDataStorage { public List<SeaCloudsApplicationData> listSeaCloudsApplicationData() { ConcurrentNavigableMap<String, SeaCloudsApplicationData> treeMap = dataStore.getTreeMap(SEACLOUDS_APPLICATION_DATA_COLLECTION_TAG); Collection<SeaCloudsApplicationData> seaCloudsApplicationDataCollection = treeMap.values(); return new ArrayList<>(seaCloudsApplicationDataCollection); } }
SeaCloudsApplicationDataStorage { public List<SeaCloudsApplicationData> listSeaCloudsApplicationData() { ConcurrentNavigableMap<String, SeaCloudsApplicationData> treeMap = dataStore.getTreeMap(SEACLOUDS_APPLICATION_DATA_COLLECTION_TAG); Collection<SeaCloudsApplicationData> seaCloudsApplicationDataCollection = treeMap.values(); return new ArrayList<>(seaCloudsApplicationDataCollection); } private  SeaCloudsApplicationDataStorage(boolean persistency); }
SeaCloudsApplicationDataStorage { public List<SeaCloudsApplicationData> listSeaCloudsApplicationData() { ConcurrentNavigableMap<String, SeaCloudsApplicationData> treeMap = dataStore.getTreeMap(SEACLOUDS_APPLICATION_DATA_COLLECTION_TAG); Collection<SeaCloudsApplicationData> seaCloudsApplicationDataCollection = treeMap.values(); return new ArrayList<>(seaCloudsApplicationDataCollection); } private  SeaCloudsApplicationDataStorage(boolean persistency); static SeaCloudsApplicationDataStorage getInstance(); SeaCloudsApplicationData addSeaCloudsApplicationData(SeaCloudsApplicationData newApplication); SeaCloudsApplicationData getSeaCloudsApplicationDataById(String id); List<SeaCloudsApplicationData> listSeaCloudsApplicationData(); SeaCloudsApplicationData removeSeaCloudsApplicationDataById(String id); void clearDataStore(); }
SeaCloudsApplicationDataStorage { public List<SeaCloudsApplicationData> listSeaCloudsApplicationData() { ConcurrentNavigableMap<String, SeaCloudsApplicationData> treeMap = dataStore.getTreeMap(SEACLOUDS_APPLICATION_DATA_COLLECTION_TAG); Collection<SeaCloudsApplicationData> seaCloudsApplicationDataCollection = treeMap.values(); return new ArrayList<>(seaCloudsApplicationDataCollection); } private  SeaCloudsApplicationDataStorage(boolean persistency); static SeaCloudsApplicationDataStorage getInstance(); SeaCloudsApplicationData addSeaCloudsApplicationData(SeaCloudsApplicationData newApplication); SeaCloudsApplicationData getSeaCloudsApplicationDataById(String id); List<SeaCloudsApplicationData> listSeaCloudsApplicationData(); SeaCloudsApplicationData removeSeaCloudsApplicationDataById(String id); void clearDataStore();  }