@Test public void changeHandled() throws Exception { assertTrue( MultiMapFactory.make( true ) instanceof ChangeHandledMultiMap ); }
public static <Key extends Comparable, Value, ListType extends List<Value>> MultiMap<Key, Value, ListType> make(final boolean updatable, final NewSubMapProvider<Value, ListType> newSubMapProvider) { if (updatable) { return new ChangeHandledMultiMap<>(new RawMultiMap<>(newSubMapProvider)); } else { return new RawMultiMap<>(newSubMapProvider); } }
MultiMapFactory { public static <Key extends Comparable, Value, ListType extends List<Value>> MultiMap<Key, Value, ListType> make(final boolean updatable, final NewSubMapProvider<Value, ListType> newSubMapProvider) { if (updatable) { return new ChangeHandledMultiMap<>(new RawMultiMap<>(newSubMapProvider)); } else { return new RawMultiMap<>(newSubMapProvider); } } }
MultiMapFactory { public static <Key extends Comparable, Value, ListType extends List<Value>> MultiMap<Key, Value, ListType> make(final boolean updatable, final NewSubMapProvider<Value, ListType> newSubMapProvider) { if (updatable) { return new ChangeHandledMultiMap<>(new RawMultiMap<>(newSubMapProvider)); } else { return new RawMultiMap<>(newSubMapProvider); } }  }
MultiMapFactory { public static <Key extends Comparable, Value, ListType extends List<Value>> MultiMap<Key, Value, ListType> make(final boolean updatable, final NewSubMapProvider<Value, ListType> newSubMapProvider) { if (updatable) { return new ChangeHandledMultiMap<>(new RawMultiMap<>(newSubMapProvider)); } else { return new RawMultiMap<>(newSubMapProvider); } }  static MultiMap<Key, Value, ListType> make(final boolean updatable,
                                                                                                                    final NewSubMapProvider<Value, ListType> newSubMapProvider); static MultiMap<Key, Value, List<Value>> make(final boolean updatable); static MultiMap make(); }
MultiMapFactory { public static <Key extends Comparable, Value, ListType extends List<Value>> MultiMap<Key, Value, ListType> make(final boolean updatable, final NewSubMapProvider<Value, ListType> newSubMapProvider) { if (updatable) { return new ChangeHandledMultiMap<>(new RawMultiMap<>(newSubMapProvider)); } else { return new RawMultiMap<>(newSubMapProvider); } }  static MultiMap<Key, Value, ListType> make(final boolean updatable,
                                                                                                                    final NewSubMapProvider<Value, ListType> newSubMapProvider); static MultiMap<Key, Value, List<Value>> make(final boolean updatable); static MultiMap make();  }