I have a map with some values.
public ConcurrentMap<Long, Double> data = new ConcurrentSkipListMap<>();
How do I iterate this in reverse? Java iterator doesn't seem to have an next() function or a function to reverse the map.
I have a map with some values.
public ConcurrentMap<Long, Double> data = new ConcurrentSkipListMap<>();
How do I iterate this in reverse? Java iterator doesn't seem to have an next() function or a function to reverse the map.