@Test public void testGetCoreNames() { Set<String> coreNames = reg.getCoreNames(); assertNotNull(coreNames); assertTrue(coreNames.contains(CORE_NAME)); assertEquals(1, coreNames.size()); registerTrackers(CORE2_NAME); coreNames = reg.getCoreNames(); assertNotNull(coreNames); assertTrue(coreNames.contains(CORE_NAME)); assertFalse(coreNames.contains(NOT_A_CORE_NAME)); assertEquals(2, coreNames.size()); }
public Set<String> getCoreNames() { return this.trackers.keySet(); }
TrackerRegistry { public Set<String> getCoreNames() { return this.trackers.keySet(); } }
TrackerRegistry { public Set<String> getCoreNames() { return this.trackers.keySet(); }  }
TrackerRegistry { public Set<String> getCoreNames() { return this.trackers.keySet(); }  Set<String> getCoreNames(); Collection<Tracker> getTrackersForCore(String coreName); boolean hasTrackersForCore(String coreName); @SuppressWarnings("unchecked") T getTrackerForCore(String coreName, Class<T> trackerClass); synchronized void register(String coreName, Tracker tracker); boolean removeTrackersForCore(String coreName); ModelTracker getModelTracker(); void setModelTracker(ModelTracker modelTracker); }
TrackerRegistry { public Set<String> getCoreNames() { return this.trackers.keySet(); }  Set<String> getCoreNames(); Collection<Tracker> getTrackersForCore(String coreName); boolean hasTrackersForCore(String coreName); @SuppressWarnings("unchecked") T getTrackerForCore(String coreName, Class<T> trackerClass); synchronized void register(String coreName, Tracker tracker); boolean removeTrackersForCore(String coreName); ModelTracker getModelTracker(); void setModelTracker(ModelTracker modelTracker);  }