Class

cats.kernel.instances

StreamOrder

Related Doc: package instances

Permalink

class StreamOrder[A] extends Order[Stream[A]]

Linear Supertypes
Order[Stream[A]], PartialOrder[Stream[A]], Eq[Stream[A]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamOrder
  2. Order
  3. PartialOrder
  4. Eq
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamOrder()(implicit ev: Order[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compare(xs: Stream[A], ys: Stream[A]): Int

    Permalink

    Result of comparing x with y.

    Result of comparing x with y. Returns an Int whose sign is: - negative iff x < y - zero iff x = y - positive iff x > y

    Definition Classes
    StreamOrderOrder
  7. def comparison(x: Stream[A], y: Stream[A]): Comparison

    Permalink

    Like compare, but returns a cats.kernel.Comparison instead of an Int.

    Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

    Definition Classes
    Order
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def eqv(x: Stream[A], y: Stream[A]): Boolean

    Permalink

    Returns true if x = y, false otherwise.

    Returns true if x = y, false otherwise.

    Definition Classes
    OrderPartialOrderEq
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def gt(x: Stream[A], y: Stream[A]): Boolean

    Permalink

    Returns true if x > y, false otherwise.

    Returns true if x > y, false otherwise.

    Definition Classes
    OrderPartialOrder
  14. def gteqv(x: Stream[A], y: Stream[A]): Boolean

    Permalink

    Returns true if x >= y, false otherwise.

    Returns true if x >= y, false otherwise.

    Definition Classes
    OrderPartialOrder
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def lt(x: Stream[A], y: Stream[A]): Boolean

    Permalink

    Returns true if x < y, false otherwise.

    Returns true if x < y, false otherwise.

    Definition Classes
    OrderPartialOrder
  18. def lteqv(x: Stream[A], y: Stream[A]): Boolean

    Permalink

    Returns true if x <= y, false otherwise.

    Returns true if x <= y, false otherwise.

    Definition Classes
    OrderPartialOrder
  19. def max(x: Stream[A], y: Stream[A]): Stream[A]

    Permalink

    If x >= y, return x, else return y.

    If x >= y, return x, else return y.

    Definition Classes
    Order
  20. def min(x: Stream[A], y: Stream[A]): Stream[A]

    Permalink

    If x <= y, return x, else return y.

    If x <= y, return x, else return y.

    Definition Classes
    Order
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def neqv(x: Stream[A], y: Stream[A]): Boolean

    Permalink

    Returns true if x != y, false otherwise.

    Returns true if x != y, false otherwise.

    Note: this default implementation provided by Order is the same as the one defined in Eq, but for purposes of binary compatibility, the override in Order has not yet been removed. See this discussion.

    Definition Classes
    OrderEq
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def partialCompare(x: Stream[A], y: Stream[A]): Double

    Permalink

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iff x < y - zero iff x = y - positive iff x > y

    Definition Classes
    OrderPartialOrder
  26. def partialComparison(x: Stream[A], y: Stream[A]): Option[Comparison]

    Permalink

    Like partialCompare, but returns a cats.kernel.Comparison instead of an Double.

    Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

    Definition Classes
    PartialOrder
  27. def pmax(x: Stream[A], y: Stream[A]): Option[Stream[A]]

    Permalink

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Definition Classes
    PartialOrder
  28. def pmin(x: Stream[A], y: Stream[A]): Option[Stream[A]]

    Permalink

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Definition Classes
    PartialOrder
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toOrdering: Ordering[Stream[A]]

    Permalink

    Convert a Order[A] to a scala.math.Ordering[A] instance.

    Convert a Order[A] to a scala.math.Ordering[A] instance.

    Definition Classes
    Order
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def tryCompare(x: Stream[A], y: Stream[A]): Option[Int]

    Permalink

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is: - negative iff x < y - zero iff x = y - positive iff x > y

    Definition Classes
    PartialOrder
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Order[Stream[A]]

Inherited from PartialOrder[Stream[A]]

Inherited from Eq[Stream[A]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped