public T get ( long key ) { for ( int i = 0 ; i < this . numTables ; i ++ ) { Entry < T > entry = this . tables . get ( i ) . get ( this . hashfunctions . get ( i ) . hash ( key ) ) ; if ( entry != null && entry . getKey ( ) == key ) { return entry . getValue ( ) ; } } for ( Entry < T > entry : this . stash ) { if ( entry . getKey ( ) == key ) { return entry . getValue ( ) ; } } return null ; }
Gets an element of the hash table .