RichBoolean

scala.runtime.RichBoolean
final class RichBoolean(val self: Boolean) extends AnyVal, OrderedProxy[Boolean]

Attributes

Source
RichBoolean.scala
Graph
Supertypes
trait Typed[Boolean]
trait Proxy
trait Ordered[Boolean]
class Object
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def <(that: Boolean): Boolean

Returns true if this is less than that

Returns true if this is less than that

Attributes

Inherited from:
Ordered
Source
Ordered.scala
def <=(that: Boolean): Boolean

Returns true if this is less than or equal to that.

Returns true if this is less than or equal to that.

Attributes

Inherited from:
Ordered
Source
Ordered.scala
def >(that: Boolean): Boolean

Returns true if this is greater than that.

Returns true if this is greater than that.

Attributes

Inherited from:
Ordered
Source
Ordered.scala
def >=(that: Boolean): Boolean

Returns true if this is greater than or equal to that.

Returns true if this is greater than or equal to that.

Attributes

Inherited from:
Ordered
Source
Ordered.scala
def compare(y: Boolean): Int

Result of comparing this with operand that.

Result of comparing this with operand that.

Implement this method to determine how instances of A will be sorted.

Returns x where:

  • x < 0 when this < that

  • x == 0 when this == that

  • x > 0 when this > that

Attributes

Inherited from:
OrderedProxy
Source
ScalaNumberProxy.scala
def compareTo(that: Boolean): Int

Result of comparing this with operand that.

Result of comparing this with operand that.

Attributes

Inherited from:
Ordered
Source
Ordered.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Proxy -> Any
Inherited from:
Proxy
Source
Proxy.scala

Concrete fields

val self: Boolean

Attributes

Source
RichBoolean.scala