public WorkbenchEntry get ( final byte [ ] address ) { // The starting point. int pos = hashCode ( address ) & mask ; // There's always an unused entry. while ( workbenchEntry [ pos ] != null ) { if ( Arrays . equals ( workbenchEntry [ pos ] . ipAddress , address ) ) return workbenchEntry [ pos ] ; pos = ( pos + 1 ) & mask ; } return null ; }
Returns the entry for a given IP address .