protected void addEntry(HashEntry<K, V> entry, int hashIndex) {
        LinkEntry<K, V> link = (LinkEntry<K, V>) entry;
        link.after = header;
        link.before = header.before;
        header.before.after = link;
        header.before = link;
        data[hashIndex] = entry;
    }
Adds an entry into this map, maintaining insertion order.
<p/>
This implementation adds the entry to the data storage table and
to the end of the linked list.

@param entry     the entry to add
@param hashIndex the index into the data array to store at
jphp-runtime/src/php/runtime/common/collections/map/AbstractLinkedMap.java