Interface IndexedMap<K,V>

All Superinterfaces:
Map<K,V>

public interface IndexedMap<K,V> extends Map<K,V>
The IndexedMap interface implements Map and several functions for dealing with its content via the index corresponding to their insertion order. The concept is similar to the LinkedHashMap, but affords the user a greater control over how the data is laid out when iterating over it.
  • Method Details

    • indexOf

      int indexOf(K key)
    • putByIndex

      V putByIndex(K key, V value, int index)
    • getByIndex

      Map.Entry<K,V> getByIndex(int index)
    • removeByIndex

      Map.Entry<K,V> removeByIndex(int index)
    • moveElement

      void moveElement(int originalIndex, int newIndex)