Public Member Functions | |
abstract double | getKey (E item) |
Should be implemented to return a sort key (as a double) based on the given item's data. |
abstract double edu.cmu.hcii.calo.model.sorting.KeyFunctor< E >.getKey | ( | E | item | ) | [pure virtual] |
Should be implemented to return a sort key (as a double) based on the given item's data.
Note that unlike a compareTo method, this should not return a sort ordering, but rather a key by which this object will be sorted. Specifically, the set will be sorted in order from highest sort key to lowest.
item | the item to generate a key for |