frost.core

Interface Comparable<T:Comparable<T>>

Implemented Interfaces:

Interface for objects which can be compared for equality and ordering. To fully implement this interface, only the = (inherited from Equatable) and > operators are required, as the others all have default implementations.

Source Code:
View Source
Inherited Fields:

Instance Method Summary

-- greater than operator --
>(other:T):Bit
-- less than operator --
<(other:T):Bit
-- greater than or equal operator --
>=(other:T):Bit
-- less than or equal operator --
<=(other:T):Bit
Inherited Methods:

Instance Methods

-- greater than operator --
function > (other:T
):Bit
Parameters:
other - value of type T
-- less than operator --
@default
function < (other:T
):Bit
Parameters:
other - value of type T
-- greater than or equal operator --
@default
function >= (other:T
):Bit
Parameters:
other - value of type T
-- less than or equal operator --
@default
function <= (other:T
):Bit
Parameters:
other - value of type T