public int get ( Name name ) { int row = ( name . hashCode ( ) & 0x7FFFFFFF ) % TABLE_SIZE ; int pos = - 1 ; for ( Entry entry = table [ row ] ; entry != null ; entry = entry . next ) { if ( entry . name . equals ( name ) ) pos = entry . pos ; } if ( verbose ) System . err . println ( "Looking for " + name + ", found " + pos ) ; return pos ; }
Retrieves the position of the given name if it has been previously included in the message .