public boolean containsKey(final int key)
    {
        @DoNotSub final int mask = values.length - 1;
        @DoNotSub int index = Hashing.hash(key, mask);

        boolean found = false;
        while (null != values[index])
        {
            if (key == keys[index])
            {
                found = true;
                break;
            }

            index = ++index & mask;
        }

        return found;
    }
public boolean containsKey ( final int key ) { @ DoNotSub final int mask = values . length - 1 ; @ DoNotSub int index = Hashing . hash ( key , mask ) ; boolean found = false ; while ( null != values [ index ] ) { if ( key == keys [ index ] ) { found = true ; break ; } index = ++ index & mask ; } return found ; }
Overloaded version of {@link Map#containsKey(Object)} that takes a primitive int key.

@param key for indexing the {@link Map}
@return true if the key is found otherwise false.