frost.core

Interface Equatable<T:Equatable<T>>

Interface for objects which can be compared for equality. As Equatable provides a default implementation of !=, only the = operator is strictly required.

Source Code:
View Source
Inherited Fields:

Instance Method Summary

-- equals operator --
=(other:T):Bit
Returns true if these objects are equal.
-- not equal operator --
!=(other:T):Bit
Returns true if these objects are not equal.

Instance Methods

-- equals operator --
function = (other:T
):Bit

Returns true if these objects are equal.

Parameters:
other - value of type T
-- not equal operator --
@default
function != (other:T
):Bit

Returns true if these objects are not equal.

Parameters:
other - value of type T