static <K,V> TreeMap<K,V> |
TreeMap.arrayTreeMap(Ord<K> keyOrd,
P2<K,V>... ps) |
Constructs a tree map from the given elements.
|
TreeMap<K,V> |
TreeMap.delete(K k) |
Deletes the entry in the tree map that corresponds to the given key.
|
static <K,V> TreeMap<K,V> |
TreeMap.empty(Ord<K> keyOrd) |
Constructs an empty tree map.
|
static <K,V> TreeMap<K,V> |
TreeMap.fromMutableMap(Ord<K> ord,
java.util.Map<K,V> m) |
An immutable projection of the given mutable map.
|
<B,C,D> TreeMap<B,D> |
List.groupBy(F<A,B> keyFunction,
F<A,C> valueFunction,
D groupingIdentity,
F2<C,D,D> groupingAcc,
Ord<B> keyOrd) |
Groups the elements of this list by a given keyFunction, applies the valueFunction and
accumulates the mapped values with the given grouping accumulator function on the grouping
identity.
|
<B,C> TreeMap<B,C> |
List.groupBy(F<A,B> keyFunction,
F<A,C> valueFunction,
Monoid<C> monoid,
Ord<B> keyOrd) |
Groups the elements of this list by a given keyFunction into a TreeMap and transforms
the matching elements with the given valueFunction.
|
<B,C> TreeMap<B,List<C>> |
List.groupBy(F<A,B> keyFunction,
F<A,C> valueFunction,
Ord<B> keyOrd) |
Groups the elements of this list by a given keyFunction into a TreeMap and transforms
the matching elements with the given valueFunction.
|
<B> TreeMap<B,List<A>> |
List.groupBy(F<A,B> keyFunction,
Ord<B> keyOrd) |
Groups the elements of this list by a given keyFunction into a TreeMap .
|
static <K,V> TreeMap<K,V> |
TreeMap.iterableTreeMap(Ord<K> keyOrd,
java.lang.Iterable<P2<K,V>> it) |
Constructs a tree map from the given elements.
|
static <K,V> TreeMap<K,V> |
TreeMap.iteratorTreeMap(Ord<K> keyOrd,
java.util.Iterator<P2<K,V>> it) |
Constructs a tree map from the given elements.
|
<W> TreeMap<K,W> |
TreeMap.map(F<V,W> f) |
Maps the given function across the values of this TreeMap.
|
TreeMap<K,V> |
TreeMap.set(K k,
V v) |
Inserts the given key and value association into the tree map.
|
static <K,V> TreeMap<K,V> |
TreeMap.setTreeMap(Ord<K> ord,
Set<P2<K,Option<V>>> s) |
Constructs a TreeMap from the given set.
|
static <K,V> TreeMap<K,V> |
TreeMap.treeMap(Ord<K> keyOrd,
P2<K,V>... p2s) |
Constructs a tree map from the given elements.
|
TreeMap<K,V> |
TreeMap.union(TreeMap<K,V> t2) |
The expression t1.union(t2) takes the left-biased union of t1
and t2 .
|
TreeMap<K,V> |
TreeMap.union(java.lang.Iterable<P2<K,V>> t2) |
The expression t1.union(t2) takes the left-biased union of t1
and t2 .
|
TreeMap<K,V> |
TreeMap.update(K k,
F<V,V> f,
V v) |
Modifies the value for the given key, if present, by applying the given function to it, or
inserts the given value if the key is not present.
|