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
- Alphabetic
- By Inheritance
Inherited
- TSEntryOrdering
- Ordering
- PartialOrdering
- Equiv
- Serializable
- Comparator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class OrderingOps extends AnyRef
- Definition Classes
- Ordering
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compare(x: TSEntry[Any], y: TSEntry[Any]): Int
- Definition Classes
- TSEntryOrdering → Ordering → Comparator
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def equiv(x: TSEntry[Any], y: TSEntry[Any]): Boolean
- Definition Classes
- Ordering → PartialOrdering → Equiv
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def gt(x: TSEntry[Any], y: TSEntry[Any]): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def gteq(x: TSEntry[Any], y: TSEntry[Any]): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReverseOf(other: Ordering[_]): Boolean
- Definition Classes
- Ordering
- def lt(x: TSEntry[Any], y: TSEntry[Any]): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def lteq(x: TSEntry[Any], y: TSEntry[Any]): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def max[U <: TSEntry[Any]](x: U, y: U): U
- Definition Classes
- Ordering
- def min[U <: TSEntry[Any]](x: U, y: U): U
- Definition Classes
- Ordering
- implicit def mkOrderingOps(lhs: TSEntry[Any]): OrderingOps
- Definition Classes
- Ordering
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def on[U](f: (U) => TSEntry[Any]): Ordering[U]
- Definition Classes
- Ordering
- def orElse(other: Ordering[TSEntry[Any]]): Ordering[TSEntry[Any]]
- Definition Classes
- Ordering
- def orElseBy[S](f: (TSEntry[Any]) => S)(implicit ord: Ordering[S]): Ordering[TSEntry[Any]]
- Definition Classes
- Ordering
- def reverse: Ordering[TSEntry[Any]]
- Definition Classes
- Ordering → PartialOrdering
- def reversed(): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def thenComparing[U <: Comparable[_ >: U <: AnyRef]](arg0: Function[_ >: TSEntry[Any] <: AnyRef, _ <: U]): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- def thenComparing[U <: AnyRef](arg0: Function[_ >: TSEntry[Any] <: AnyRef, _ <: U], arg1: Comparator[_ >: U <: AnyRef]): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- def thenComparing(arg0: Comparator[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- def thenComparingDouble(arg0: ToDoubleFunction[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- def thenComparingInt(arg0: ToIntFunction[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- def thenComparingLong(arg0: ToLongFunction[_ >: TSEntry[Any] <: AnyRef]): Comparator[TSEntry[Any]]
- Definition Classes
- Comparator
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryCompare(x: TSEntry[Any], y: TSEntry[Any]): Some[Int]
- Definition Classes
- Ordering → PartialOrdering
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()