base/common/src/main/com/thesett/common/util/doublemaps/HashMapXY.java
public boolean containsKey(Long x, Long y)
    {
        // Extract the region containing the coordinates from the hash table
        Bucket region = (Bucket) regions.get(new Coordinates(div(x, bucketSize), div(y, bucketSize)));

        // Check if the whole region is empty
        if (region == null)
        {
            return false;
        }

        // Check if the coordinates within the region contain data
        return (region.array[mod(x, bucketSize)][mod(y, bucketSize)] != null);
    }
public boolean containsKey(Long x, Long y)
    {
        // Extract the region containing the coordinates from the hash table
        Bucket region = (Bucket) regions.get(new Coordinates(div(x, bucketSize), div(y, bucketSize)));

        // Check if the whole region is empty
        if (region == null)
        {
            return false;
        }

        // Check if the coordinates within the region contain data
        return (region.array[mod(x, bucketSize)][mod(y, bucketSize)] != null);
    }
public boolean containsKey ( Long x , Long y ) { // Extract the region containing the coordinates from the hash table Bucket region = ( Bucket ) regions . get ( new Coordinates ( div ( x , bucketSize ) , div ( y , bucketSize ) ) ) ; // Check if the whole region is empty if ( region == null ) { return false ; } // Check if the coordinates within the region contain data return ( region . array [ mod ( x , bucketSize ) ] [ mod ( y , bucketSize ) ] != null ) ; }
Returns <tt>true</tt> if this map contains a mapping for the specified coordinates.

@param  x The X coordinate.
@param  y The Y coordinate.

@return True if this map contains a mapping for the specified coordinate.
Returns <tt > true< / tt > if this map contains a mapping for the specified coordinates .