public void put ( K key , V value ) { final int hash = key . hashCode ( ) ; final int row = hash / SIZE_ROW ; final int column = hash & ( SIZE_ROW - 1 ) ; // DON'T use the % operator as we // need the result to be // non-negative (-1%16 is -1 for // example) validateKey ( hash ) ; validateTable ( row ) ; this . values [ row ] [ column ] = value ; this . keys [ hash ] = key ; }
Put a key and value pair into the storage map .