@Test public void testUpdateAge() throws Exception { final MultiMapChangeHandler changeHandler = mock(MultiMapChangeHandler.class); ((ChangeHandledMultiMap) map.get(AGE)).addChangeListener(changeHandler); toni.setAge(10); final MultiMap<Value, Person, List<Person>> age = map.get(AGE); assertFalse(age.get(new Value(20)) .contains(toni)); assertTrue(age.get(new Value(10)) .contains(toni)); }
public MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition) { return tree.get(keyDefinition); }
KeyTreeMap { public MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition) { return tree.get(keyDefinition); } }
KeyTreeMap { public MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition) { return tree.get(keyDefinition); } KeyTreeMap(final KeyDefinition... keyIDs); }
KeyTreeMap { public MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition) { return tree.get(keyDefinition); } KeyTreeMap(final KeyDefinition... keyIDs); void put(final T object); MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition); void merge(final KeyTreeMap<T> keyTreeMap); }
KeyTreeMap { public MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition) { return tree.get(keyDefinition); } KeyTreeMap(final KeyDefinition... keyIDs); void put(final T object); MultiMap<Value, T, List<T>> get(final KeyDefinition keyDefinition); void merge(final KeyTreeMap<T> keyTreeMap);  }