PartiallyOrdered
scala.math.PartiallyOrdered
trait PartiallyOrdered[+A] extends Any
A class for partially ordered data.
Type parameters
- A
-
the type of the elements being ordered
Attributes
- Source
- PartiallyOrdered.scala
- Graph
-
- Supertypes
-
class Any
Members list
Type members
Types
Attributes
- Source
- PartiallyOrdered.scala
Value members
Abstract methods
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 < 0iff**this** < thatx == 0iff**this** == thatx > 0iff**this** > that
Type parameters
- B
-
a supertype of
Afor which an implicit conversion toPartiallyOrdered[B]exists
Value parameters
- that
-
the value to compare against
Attributes
- Source
- PartiallyOrdered.scala
Concrete methods
Attributes
- Source
- PartiallyOrdered.scala
Attributes
- Source
- PartiallyOrdered.scala
Attributes
- Source
- PartiallyOrdered.scala
Attributes
- Source
- PartiallyOrdered.scala
In this article