Packages

t

scala.math

PartiallyOrdered

trait PartiallyOrdered[+A] extends AnyRef

A class for partially ordered data.

Source
PartiallyOrdered.scala
Version

1.0, 23/04/2004

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartiallyOrdered
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def tryCompareTo[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Option[Int]

    Result of comparing this with operand that.

    Result of comparing this with operand that. Returns None if operands are not comparable. If operands are comparable, returns Some(x) where

    • x < 0 iff this < that
    • x == 0 iff this == that
    • x > 0 iff this > that

Concrete Value Members

  1. def <[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
  2. def <=[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
  3. def >[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
  4. def >=[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean