Class SequencedHashMap<K,​V>

    • Constructor Detail

      • SequencedHashMap

        public SequencedHashMap()
    • Method Detail

      • putBefore

        public void putBefore​(K key,
                              V value,
                              K beforeKey)
        Parameters:
        beforeKey - the key before the key-value entry is put. If null the entry is put at the end. If non-null but not contained in the map an exception is thrown.