Ordering

sealed abstract class Ordering[+T]
class Object
trait Matchable
class Any

Value members

Concrete methods

final def append[S >: T](ordinal: Int, value: S): Ordering[S]
final def exclude(ordinal: Int): Ordering[T]
final def head: T
final def headTail: (T, Ordering[T])
final def include[S >: T](ordinal: Int, value: S): Ordering[S]
final def init: Ordering[T]
final def initLast: (Ordering[T], T)
final def last: T
final def modifyOrRemove[S](f: (Int, T) => Option[S]): Ordering[S]

A combined transform and filter function.

A combined transform and filter function. Returns an Ordering such that for each (key, value) mapping in this map, if f(key, value) == None the map contains no mapping for key, and if f(key, value) == Some(x) the map contains (key, x).

Type Params
S

The type of the values in the resulting LongMap.

Value Params
f

The transforming function.

Returns

The modified map.

Source
TreeSeqMap.scala
final def splitAt(n: Int): (Ordering[T], Ordering[T])
final def tail: Ordering[T]
final override def toString: String
Definition Classes
Source
TreeSeqMap.scala