Uses of Class
fj.data.TreeMap
Packages that use TreeMap
Package
Description
Types that set the premise for the existence of Functional Java.
Common algebraic data types.
-
Uses of TreeMap in fj
-
Uses of TreeMap in fj.data
Modifier and TypeMethodDescriptionstatic <K,
V> TreeMap <K, V> TreeMap.arrayTreeMap
(Ord<K> keyOrd, P2<K, V>... ps) Constructs a tree map from the given elements.Deletes the entry in the tree map that corresponds to the given key.static <K,
V> TreeMap <K, V> Constructs an empty tree map.static <K,
V> TreeMap <K, V> TreeMap.fromMutableMap
(Ord<K> ord, Map<K, V> m) An immutable projection of the given mutable map.final <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.final <B,
C> TreeMap <B, C> Groups the elements of this list by a given keyFunction into aTreeMap
and transforms the matching elements with the given valueFunction.Groups the elements of this list by a given keyFunction into aTreeMap
and transforms the matching elements with the given valueFunction.Groups the elements of this list by a given keyFunction into aTreeMap
.static <K,
V> TreeMap <K, V> TreeMap.iterableTreeMap
(Ord<K> keyOrd, Iterable<P2<K, V>> it) Constructs a tree map from the given elements.static <K,
V> TreeMap <K, V> TreeMap.iteratorTreeMap
(Ord<K> keyOrd, Iterator<P2<K, V>> it) Constructs a tree map from the given elements.Maps the given function across the values of this TreeMap.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> Constructs a tree map from the given elements.The expressiont1.union(t2)
takes the left-biased union oft1
andt2
.The expressiont1.union(t2)
takes the left-biased union oft1
andt2
.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.Modifier and TypeMethodDescriptionTreeMap.splitLookup
(K k) Splits this TreeMap at the given key.TreeMap.splitLookup
(K k) Splits this TreeMap at the given key.Modifies the value for the given key, if present, by applying the given function to it.