I'm looking for a data structure in the java.util package. I need it to meet the following requirements:
- The number of elements is (theoretically) unbounded.
- The elements are sorted in an ascending order.
- You can get the nth element (fast).
- You can remove the nth element (fast).
I expected to find an indexable skip list, but I didn't. Do they have any data structure which meets the requirements I'v stated?