@Test public void getSeparateSupportsStringKeyWithDefaultValue() { final EventDrivenUpdatesMap map = new EventDrivenUpdatesMap(DEFAULT_DELEGATE); final Set<String> ids = map.getSeparate("event-c|test"); assertThat("expected default value", ids, contains("test")); }
Set<String> getSeparate(String events) { final String[] iter = parseEventsAndDefault(events); return getSeparate(iter[0], iter[1]); }
EventDrivenUpdatesMap extends AbstractMap<String, String> implements Serializable { Set<String> getSeparate(String events) { final String[] iter = parseEventsAndDefault(events); return getSeparate(iter[0], iter[1]); } }
EventDrivenUpdatesMap extends AbstractMap<String, String> implements Serializable { Set<String> getSeparate(String events) { final String[] iter = parseEventsAndDefault(events); return getSeparate(iter[0], iter[1]); } EventDrivenUpdatesMap();   EventDrivenUpdatesMap(Map<String, Set<String>> delegate); }
EventDrivenUpdatesMap extends AbstractMap<String, String> implements Serializable { Set<String> getSeparate(String events) { final String[] iter = parseEventsAndDefault(events); return getSeparate(iter[0], iter[1]); } EventDrivenUpdatesMap();   EventDrivenUpdatesMap(Map<String, Set<String>> delegate); @Override @SuppressWarnings("unchecked") String get(Object events); String get(Iterable<String> events, String defaultValue); String get(String events, String defaultValue); void add(String events, String...ids); @Override Set<Map.Entry<String, String>> entrySet(); @Override String toString(); }
EventDrivenUpdatesMap extends AbstractMap<String, String> implements Serializable { Set<String> getSeparate(String events) { final String[] iter = parseEventsAndDefault(events); return getSeparate(iter[0], iter[1]); } EventDrivenUpdatesMap();   EventDrivenUpdatesMap(Map<String, Set<String>> delegate); @Override @SuppressWarnings("unchecked") String get(Object events); String get(Iterable<String> events, String defaultValue); String get(String events, String defaultValue); void add(String events, String...ids); @Override Set<Map.Entry<String, String>> entrySet(); @Override String toString();  }