K - The key type.V - The value type.public static final class PMap.SortedBuilder<K extends Comparable<K>,V> extends Object implements PMap.Builder<K,V>
| Constructor and Description |
|---|
SortedBuilder() |
SortedBuilder(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
Map<K,V> |
build() |
PMap.Builder<K,V> |
put(K key,
V value) |
PMap.Builder<K,V> |
putAll(Map<K,V> items) |
public SortedBuilder()
public SortedBuilder(int capacity)
@Nonnull public PMap.Builder<K,V> put(@Nonnull K key, @Nonnull V value)
put in interface PMap.Builder<K extends Comparable<K>,V>@Nonnull public PMap.Builder<K,V> putAll(@Nonnull Map<K,V> items)
putAll in interface PMap.Builder<K extends Comparable<K>,V>@Nonnull public Map<K,V> build()
build in interface PMap.Builder<K extends Comparable<K>,V>Copyright © 2015–2020 morimekta.net. All rights reserved.