void addEntry(int hash, K key, V value, int bucketIndex) {
        Entry<K, V> e = table[bucketIndex];
        table[bucketIndex] = new Entry<K, V>(hash, key, value, e);
        if (size++ >= threshold)
            resize(2 * table.length);
    }
Adds a new entry with the specified key, value and hash code to the
specified bucket. It is the responsibility of this method to resize the
table if appropriate.

Subclass overrides this to alter the behavior of put method.
src/main/java/com/alibaba/fastjson/util/AntiCollisionHashMap.java