public static class HashMultimap.Builder<V> extends Object
Modifier and Type | Method and Description |
---|---|
<K,V2 extends V> |
collector() |
<K,V2 extends V> |
empty() |
<K,V2 extends V> |
fill(int n,
Supplier<? extends Tuple2<? extends K,? extends V2>> s) |
<K,V2 extends V> |
of(K key,
V2 value)
Creates a HashMultimap of the given key-value pair.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4,
K k5,
V2 v5)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4,
K k5,
V2 v5,
K k6,
V2 v6)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4,
K k5,
V2 v5,
K k6,
V2 v6,
K k7,
V2 v7)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4,
K k5,
V2 v5,
K k6,
V2 v6,
K k7,
V2 v7,
K k8,
V2 v8)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4,
K k5,
V2 v5,
K k6,
V2 v6,
K k7,
V2 v7,
K k8,
V2 v8,
K k9,
V2 v9)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(K k1,
V2 v1,
K k2,
V2 v2,
K k3,
V2 v3,
K k4,
V2 v4,
K k5,
V2 v5,
K k6,
V2 v6,
K k7,
V2 v7,
K k8,
V2 v8,
K k9,
V2 v9,
K k10,
V2 v10)
Creates a HashMultimap of the given list of key-value pairs.
|
<K,V2 extends V> |
of(Tuple2<? extends K,? extends V2> entry) |
<K,V2 extends V> |
ofEntries(Iterable<? extends Tuple2<? extends K,? extends V2>> entries) |
<K,V2 extends V> |
ofEntries(Map.Entry<? extends K,? extends V2>... entries) |
<K,V2 extends V> |
ofEntries(Tuple2<? extends K,? extends V2>... entries) |
<K,V2 extends V> |
tabulate(int n,
Function<? super Integer,? extends Tuple2<? extends K,? extends V2>> f) |
public <K,V2 extends V> HashMultimap<K,V2> empty()
public <K,V2 extends V> HashMultimap<K,V2> ofEntries(Iterable<? extends Tuple2<? extends K,? extends V2>> entries)
@SafeVarargs public final <K,V2 extends V> HashMultimap<K,V2> ofEntries(Tuple2<? extends K,? extends V2>... entries)
@SafeVarargs public final <K,V2 extends V> HashMultimap<K,V2> ofEntries(Map.Entry<? extends K,? extends V2>... entries)
public <K,V2 extends V> HashMultimap<K,V2> tabulate(int n, Function<? super Integer,? extends Tuple2<? extends K,? extends V2>> f)
public <K,V2 extends V> HashMultimap<K,V2> fill(int n, Supplier<? extends Tuple2<? extends K,? extends V2>> s)
public <K,V2 extends V> HashMultimap<K,V2> of(K key, V2 value)
K
- The key typeV2
- The value typekey
- a key for the mapvalue
- the value for keypublic <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4, K k5, V2 v5)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4k5
- a key for the mapv5
- the value for k5public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4, K k5, V2 v5, K k6, V2 v6)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4k5
- a key for the mapv5
- the value for k5k6
- a key for the mapv6
- the value for k6public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4, K k5, V2 v5, K k6, V2 v6, K k7, V2 v7)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4k5
- a key for the mapv5
- the value for k5k6
- a key for the mapv6
- the value for k6k7
- a key for the mapv7
- the value for k7public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4, K k5, V2 v5, K k6, V2 v6, K k7, V2 v7, K k8, V2 v8)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4k5
- a key for the mapv5
- the value for k5k6
- a key for the mapv6
- the value for k6k7
- a key for the mapv7
- the value for k7k8
- a key for the mapv8
- the value for k8public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4, K k5, V2 v5, K k6, V2 v6, K k7, V2 v7, K k8, V2 v8, K k9, V2 v9)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4k5
- a key for the mapv5
- the value for k5k6
- a key for the mapv6
- the value for k6k7
- a key for the mapv7
- the value for k7k8
- a key for the mapv8
- the value for k8k9
- a key for the mapv9
- the value for k9public <K,V2 extends V> HashMultimap<K,V2> of(K k1, V2 v1, K k2, V2 v2, K k3, V2 v3, K k4, V2 v4, K k5, V2 v5, K k6, V2 v6, K k7, V2 v7, K k8, V2 v8, K k9, V2 v9, K k10, V2 v10)
K
- The key typeV2
- The value typek1
- a key for the mapv1
- the value for k1k2
- a key for the mapv2
- the value for k2k3
- a key for the mapv3
- the value for k3k4
- a key for the mapv4
- the value for k4k5
- a key for the mapv5
- the value for k5k6
- a key for the mapv6
- the value for k6k7
- a key for the mapv7
- the value for k7k8
- a key for the mapv8
- the value for k8k9
- a key for the mapv9
- the value for k9k10
- a key for the mapv10
- the value for k10public <K,V2 extends V> HashMultimap<K,V2> of(Tuple2<? extends K,? extends V2> entry)
Copyright © 2016. All Rights Reserved.