Packages

t

scala.math

PartiallyOrdered

trait PartiallyOrdered[+A] extends Any

A class for partially ordered data.

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

Type Members

  1. type AsPartiallyOrdered[B] = (B) => PartiallyOrdered[B]

Abstract Value Members

  1. abstract def tryCompareTo[B >: A](that: B)(implicit arg0: AsPartiallyOrdered[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: AsPartiallyOrdered[B]): Boolean
  2. def <=[B >: A](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean
  3. def >[B >: A](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean
  4. def >=[B >: A](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean