MyPartialOrder

scalation.mathstat.MyPartialOrder
case class MyPartialOrder(x: Int, y: Int) extends PartiallyOrdered[MyPartialOrder]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
PartiallyOrdered

Value members

Concrete methods

infix def tryCompareTo[B >: MyPartialOrder : AsPartiallyOrdered](that: B): Option[Int]

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

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''' &lt; that
  • x == 0 iff '''this''' == that
  • x > 0 iff '''this''' &gt; that

Attributes

Inherited methods

def <[B >: MyPartialOrder : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def <=[B >: MyPartialOrder : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def >[B >: MyPartialOrder : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def >=[B >: MyPartialOrder : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product