in scala
trait Ordered

trait Ordered[a]()
extends Object
with ScalaObject
Implementing classes or objects:
trait Value() in scala/Enumeration-class
class TreeNT(i: Int) in scala/runtime/matching
class Rule() in scala/runtime/matching
class Address(l: Int*) in scala/runtime/matching
class HedgeNT(i: Int) in scala/runtime/matching
class Attribute(namespace: String, key: String, value: String) in scala/xml

A trait for totally ordered data.
Author:
Martin Odersky
Version:
1.0, 23/04/2004

Method Summary
  def <[b >: a](view: (b) => Ordered[b])(that: b): Boolean
  def <=[b >: a](view: (b) => Ordered[b])(that: b): Boolean
  def >[b >: a](view: (b) => Ordered[b])(that: b): Boolean
  def >=[b >: a](view: (b) => Ordered[b])(that: b): Boolean
abstract def compareTo[b >: a](view: (b) => Ordered[b])(that: b): Int
     Result of comparing `this' with operand `that'.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Method Detail

compareTo

  abstract def compareTo[b >: a](view: (b) => Ordered[b])(that: b): Int
Result of comparing `this' with operand `that'. returns `x' where x < 0 iff this < that x == 0 iff this == that x > 0 iff this > that

<

  def <[b >: a](view: (b) => Ordered[b])(that: b): Boolean

>

  def >[b >: a](view: (b) => Ordered[b])(that: b): Boolean

<=

  def <=[b >: a](view: (b) => Ordered[b])(that: b): Boolean

>=

  def >=[b >: a](view: (b) => Ordered[b])(that: b): Boolean