This class represents a subset. One has to specify the left/right limits (which can be set to -∞ or ∞). Since the subset is a view on the set, at a given moment it could happen that the limits of the range are not any longer in the main set. Thus, things such as {@link java.util.SortedSet#first()} or {@link java.util.SortedSet#size()} must be always computedon-the-fly.
|
|