tion[_&gt;:T]):java.util.Comparator[T]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">thenComparingDouble</span><span class="params">(<span name="arg0">arg0: <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/ToDoubleFunction.html#java.util.function.ToDoubleFunction" name="java.util.function.ToDoubleFunction" id="java.util.function.ToDoub