@SuppressWarnings("unchecked")
    public V remove(final long key) {
        int index = longHash(key, mask);
        Object value;
        while (null != (value = values[index])) {
            if (key == keys[index]) {
                values[index] = null;
                --size;
                compactChain(index);
                return (V) value;
            }
            index = ++index & mask;
        }
        return null;
    }
@ SuppressWarnings ( "unchecked" ) public V remove ( final long key ) { int index = longHash ( key , mask ) ; Object value ; while ( null != ( value = values [ index ] ) ) { if ( key == keys [ index ] ) { values [ index ] = null ; -- size ; compactChain ( index ) ; return ( V ) value ; } index = ++ index & mask ; } return null ; }
Overloaded version of {@link Map#remove(Object)} that takes a primitive long key.

@param key for indexing the {@link Map}
@return the value if found otherwise null