Package lumis.util.collections
Interface Maps.IMapBuilder<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
- Enclosing class:
- Maps
public static interface Maps.IMapBuilder<K,V>
Map builder.- Since:
- 8.2.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<K,V>
build()
Returns the built map in a modifiable form.java.util.Map<K,V>
buildImmutable()
Returns the built map in an unmodifiable form.Maps.IMapBuilder<K,V>
put(K key, V value)
Puts the given entry in this builder.
-
-
-
Method Detail
-
put
Maps.IMapBuilder<K,V> put(K key, V value)
Puts the given entry in this builder.- Parameters:
key
- the key.value
- the value.- Returns:
- this builder.
- Since:
- 8.2.0
-
build
java.util.Map<K,V> build()
Returns the built map in a modifiable form.- Returns:
- the built map in a modifiable form.
- Since:
- 8.2.0
-
-