The operations that
See also post - RangeView operations on SortedSet
SortedSet
inherits from Set
behave identically on sorted sets and normal sets with two exceptions: - The
Iterator
returned by theiterator
operation traverses the sorted set in order. - The array returned by
toArray
contains the sorted set's elements in order.
toString
method of the JDK's SortedSet
implementations returns a string containing all the elements of the sorted set, in order.See also post - RangeView operations on SortedSet
No comments:
Post a Comment