Class IndexedCollection<K,​T extends Comparable>

  • All Implemented Interfaces:
    ReadOnlyIndexedCollection<K,​T>

    public class IndexedCollection<K,​T extends Comparable>
    extends Object
    implements ReadOnlyIndexedCollection<K,​T>
    A collection of sorted objects with fast index by id. By default objects are sorted by their Comparable implementation. Ordering could be changed with custom comparator.