Since SortedSet is a "set", it should support the same interface as Set. At the same time, since it is ordered, a number of "indexed", Array-like methods will also make sense. To finish off, I want to add methods for iterating over all the items greater than, greater-than-or-equal, less than, or less-than-or-equal to a provided argument.
该提问来源于开源项目:hamstergem/hamster