Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private static <K, V> SortedMap<K, V> sortedMapOf(
final Value<V> seq,
final Function<V, K> key)
return TreeMap.of( -> Tuple.of(key.apply(v), v)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment