예제 #1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((id == null) ? 0 : id.hashCode());
   return result;
 }
예제 #2
0
 @Override
 public int hashCode() {
   return id.hashCode();
 }
예제 #3
0
 /**
  * Overrides hashCode.
  *
  * @stable ICU 3.6
  */
 public int hashCode() {
   return ID.hashCode();
 }