immutable class PQMIN{T < $IS_LT{T}} < $IS_LT{PQMIN{T}} |
---|
**** | Wrapper that inverts the < behavior, so that the priority queue will be sorted based on the > relationship i.e. minimal elements will be extracted first
_ |
$IS_LT{_} | $IS_EQ |
attr element: T; |
---|
attr element: T; |
---|
create(e: T): SAME |
---|
is_eq(e: SAME): BOOL |
---|
is_eq(arg: $OB): BOOL .. Included as is_eq |
---|
**** | Overloaded version of the is_eq routine that works with an argument of any type. If the type of the 'arg' is not the same as they type of 'self' then return false. Otherwise, deletegate to the 'real' is_eq(SAME):BOOL routine |
is_lt(e:SAME):BOOL |
---|
**** | Return true is self is GREATER than "e" i.e. invert the relationship |
str(e: T): STR |
---|