@Test public void testFindByAge() throws Exception { final MultiMap<Value, Person, List<Person>> age = map.get(KeyDefinition.newKeyDefinition() .withId("age") .build()); Util.assertMapContent(age, 20, 20, 30); assertTrue(age.get(new Value(20)) .contains(toni)); assertTrue(age.get(new Value(20)) .contains(eder)); }
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);  }