public boolean equals(Object b){
  if (!(b instanceof InvocationKey))   return false;
  InvocationKey test=(InvocationKey)b;
  if (_isSecure != test._isSecure)   return false;
  if (_port != test._port)   return false;
  int length=_uriLength;
  if (length != test._uriLength)   return false;
  byte[] uriA=_uri;
  byte[] uriB=test._uri;
  for (int i=length - 1; i >= 0; i--)   if (uriA[i] != uriB[i])   return false;
  if (_host == null)   return test._host == null;
 else   return _host.equals(test._host);
}

public boolean equals ( Object b ) { if ( ! ( b instanceof InvocationKey ) ) return false ; InvocationKey test = ( InvocationKey ) b ; if ( _isSecure != test . _isSecure ) return false ; if ( _port != test . _port ) return false ; int length = _uriLength ; if ( length != test . _uriLength ) return false ; byte [ ] uriA = _uri ; byte [ ] uriB = test . _uri ; for ( int i = length - 1 ; i >= 0 ; i -- ) if ( uriA [ i ] != uriB [ i ] ) return false ; if ( _host == null ) return test . _host == null ; else return _host . equals ( test . _host ) ; }
returns true if the key matches the test key .
