Comparable [Src] [A: Comparable[A] #read]

interface ref Comparable[A: Comparable[A] #read] is
  Equatable[A] ref

Implements


Public Functions

lt [Src]

fun box lt(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns


le [Src]

fun box le(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns


ge [Src]

fun box ge(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns


gt [Src]

fun box gt(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns


compare [Src]

fun box compare(
  that: box->A)
: (Less val | Equal val | Greater val)

Parameters

  • that: box->A

Returns


eq [Src]

fun box eq(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns


ne [Src]

fun box ne(
  that: box->A)
: Bool val

Parameters

  • that: box->A

Returns