public int indexOf(Object key) {
        return insertOrder.indexOf(key);
    }
Gets the index of the specified key.

@param key the key to find the index of
@return the index, or -1 if not found
jphp-runtime/src/php/runtime/common/collections/map/ListOrderedMap.java