SHARE
TWEET

Untitled

a guest Dec 9th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2. public int hashCode() {
  3.  
  4.   final int prime = 31;
  5.   int result = 1;
  6.  
  7.   result = prime * result + ((id == null) ? 0 : nome.hashCode());
  8.   result = prime * result + ((id == null) ? 0 : cognome.hashCode());
  9.   return result;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top