Skip to content

Commit

Permalink
Added a rich set of builders for Google Guava immutable collections
Browse files Browse the repository at this point in the history
  • Loading branch information
lyubomyr-shaydariv committed Sep 25, 2024
1 parent b359a8c commit aa84bfb
Show file tree
Hide file tree
Showing 3 changed files with 379 additions and 9 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,23 @@ No `ext-gson` dependencies are bundled or planned to be bundled, so all dependen
##### Collections

* `com.google.common.collect.BiMap`
* `com.google.common.collect.Collection`
* `com.google.common.collect.Graph`
* `com.google.common.collect.List`
* `com.google.common.collect.ListMultimap`
* `com.google.common.collect.Map`
* `com.google.common.collect.Multimap`
* `com.google.common.collect.Multiset`
* `com.google.common.collect.Network`
* `com.google.common.collect.RangeMap`
* `com.google.common.collect.RangeSet`
* `com.google.common.collect.Set`
* `com.google.common.collect.SetMultimap`
* `com.google.common.collect.SortedMap`
* `com.google.common.collect.SortedMultiset`
* `com.google.common.collect.SortedSet`
* `com.google.common.collect.Table`
* `com.google.common.collect.ValueGraph`

#### Apache Commons Collections 4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public static <K, V> TypeAdapter<BiMap<K, V>> forBiMap(
);
}


public static <V> TypeAdapter<Multimap<String, V>> forMultimap(
final TypeAdapter<V> valueTypeAdapter,
final Supplier<? extends IBuilder2<? super String, ? super V, ? extends Multimap<String, V>>> builderFactory
Expand Down
Loading

0 comments on commit aa84bfb

Please sign in to comment.