Class InsertionOrderedNavigableSet<E>

java.lang.Object
org.apache.cassandra.utils.InsertionOrderedNavigableSet<E>
Type Parameters:
E - the type of elements maintained by this set
All Implemented Interfaces:
Iterable<E>, Collection<E>, NavigableSet<E>, Set<E>, SortedSet<E>

public class InsertionOrderedNavigableSet<E> extends Object implements NavigableSet<E>
A NavigableSet that enforces in-order insertion of elements. This is helpful when we have an already-ordered collection with no duplicates and want constant time insertion.

Note: Not all methods of NavigableSet are implemented.