public V get(Object key)
    {
        // Get the index from the map
        Integer index = keyToIndex.get(key);

        // Check that the key is in the map
        if (index == null)
        {
            return null;
        }

        // Get the data from the array
        return data.get(index.intValue());
    }
public V get(Object key)
    {
        
        Integer index = keyToIndex.get(key);

        
        if (index == null)
        {
            return null;
        }

        
        return data.get(index.intValue());
    }
public V get ( Object key ) { // Get the index from the map Integer index = keyToIndex . get ( key ) ; // Check that the key is in the map if ( index == null ) { return null ; } // Get the data from the array return data . get ( index . intValue ( ) ) ; }
Returns the value to which this map maps the specified key.

@param  key The key to get the value from this map for.

@return The object stored under the specified key, or null if the key is not in this map.
Returns the value to which this map maps the specified key .