Package | Description |
---|---|
com.atlassian.jira.util.collect |
Modifier and Type | Method and Description |
---|---|
MapBuilder<K,V> |
MapBuilder.add(K key,
V value)
Add a key/value.
|
MapBuilder<K,V> |
MapBuilder.addAll(Map<? extends K,? extends V> map)
Add all the entries contained in the map.
|
MapBuilder<K,V> |
MapBuilder.addIfValueNotNull(K key,
V value)
Add a key/value only if the value is not
null . |
static <K,V> MapBuilder<K,V> |
MapBuilder.newBuilder()
Static factory method for creating a fresh
MapBuilder . |
static <K,V> MapBuilder<K,V> |
MapBuilder.newBuilder(K key,
V value)
Static factory method for creating a fresh
MapBuilder and adding the given key/value pair. |
static <K,V> MapBuilder<K,V> |
MapBuilder.newBuilder(K key1,
V value1,
K key2,
V value2)
Static factory method for creating a fresh
MapBuilder and adding the given key/value pairs. |
static <K,V> MapBuilder<K,V> |
MapBuilder.newBuilder(K key1,
V value1,
K key2,
V value2,
K key3,
V value3)
Static factory method for creating a fresh
MapBuilder and adding the given key/value pairs. |
static <K,V> MapBuilder<K,V> |
MapBuilder.newBuilder(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4)
Static factory method for creating a fresh
MapBuilder and adding the given key/value pairs. |
static <K,V> MapBuilder<K,V> |
MapBuilder.newBuilder(Map<? extends K,? extends V> map)
Static factory method for creating a fresh
MapBuilder based on the contents of a source Map. |
Copyright © 2002-2016 Atlassian. All Rights Reserved.