Is there any wrapper in popular collection libraries, which implements wrapper for List<E>
so that it can be accessed both with List<E>
and SortedMap<Integer,E>
interfaces?
The goal is to have indexes shifted on insert operation and autogenerated on add operation