Packages

object TSEntryOrdering extends Ordering[TSEntry[Any]]

Defines an ordering for TSEntries. Should reduce the amount of boxing: seq.sortBy(_.timestamp) induces _a lot_ of boxing to Long.

Not having the _.timestamp lambda returning a Long should improve things.

Linear Supertypes
Ordering[TSEntry[Any]], PartialOrdering[TSEntry[Any]], Equiv[TSEntry[Any]], Serializable, Comparator[TSEntry[Any]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TSEntryOrdering
  2. Ordering
  3. PartialOrdering
  4. Equiv
  5. Serializable
  6. Comparator
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class OrderingOps extends AnyRef
    Definition Classes
    Ordering

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def compare(x: TSEntry[Any], y: TSEntry[Any]): Int
    Definition Classes
    TSEntryOrdering → Ordering → Comparator
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def equiv(x: TSEntry[Any], y: TSEntry[Any]): Boolean
    Definition Classes
    Ordering → PartialOrdering → Equiv
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def gt(x: TSEntry[Any], y: TSEntry[Any]): Boolean
    Definition Classes
    Ordering → PartialOrdering
  13. def gteq(x: TSEntry[Any], y: TSEntry[Any]): Boolean
    Definition Classes
    Ordering → PartialOrdering
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isReverseOf(other: Ordering[_]): Boolean
    Definition Classes
    Ordering
  17. def lt(x: TSEntry[Any], y: TSEntry[Any]): Boolean
    Definition Classes
    Ordering → PartialOrdering
  18. def lteq(x: TSEntry[Any], y: TSEntry[Any]): Boolean
    Definition Classes
    Ordering → PartialOrdering
  19. def max[U <: TSEntry[Any]](x: U, y: U): U
    Definition Classes
    Ordering
  20. def min[U <: TSEntry[Any]](x: U, y: U): U
    Definition Classes
    Ordering
  21. implicit def mkOrderingOps(lhs: TSEntry[Any]): OrderingOps
    Definition Classes
    Ordering
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def on[U](f: (U) => TSEntry[Any]): Ordering[U]
    Definition Classes
    Ordering
  26. def orElse(other: Ordering[TSEntry[Any]]): Ordering[TSEntry[Any]]
    Definition Classes
    Ordering
  27. def orElseBy[S](f: (TSEntry[Any]) => S)(implicit ord: Ordering[S]): Ordering[TSEntry[Any]]
    Definition Classes
    Ordering
  28. def reverse: Ordering[TSEntry[Any]]
    Definition Classes
    Ordering → PartialOrdering
  29. def reversed(): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def thenComparing[U <: Comparable[_ >: U <: AnyRef]](arg0: Function[_ >: TSEntry[Any] <: AnyRef, _ <: U]): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  32. def thenComparing[U <: AnyRef](arg0: Function[_ >: TSEntry[Any] <: AnyRef, _ <: U], arg1: Comparator[_ >: U <: AnyRef]): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  33. def thenComparing(arg0: Comparator[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  34. def thenComparingDouble(arg0: ToDoubleFunction[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  35. def thenComparingInt(arg0: ToIntFunction[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  36. def thenComparingLong(arg0: ToLongFunction[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
    Definition Classes
    Comparator
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def tryCompare(x: TSEntry[Any], y: TSEntry[Any]): Some[Int]
    Definition Classes
    Ordering → PartialOrdering
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Ordering[TSEntry[Any]]

Inherited from PartialOrdering[TSEntry[Any]]

Inherited from Equiv[TSEntry[Any]]

Inherited from Serializable

Inherited from Comparator[TSEntry[Any]]

Inherited from AnyRef

Inherited from Any

Ungrouped