posted 14 years ago
Jose also focus on NavigableSet which is a far more versatile interface than SortedSet. The subSet(from,in,,to,in) syntax and other variants like tailSet, headSet which provide inclusive boolean in their argument produce NavigableSet. The older type syntax of subSet(from,to) produce SortedSet. This is true of their Map equivalent too.