@Override
 public int hashCode() {
   int result = id;
   result = 31 * result + (port != null ? port.hashCode() : 0);
   result = 31 * result + (date != null ? date.hashCode() : 0);
   return result;
 }
Beispiel #2
0
  public int hashCode() {

    if (empty) return 0;
    int hash = 17;
    hash = 37 * hash + m.hashCode();
    hash = 37 * hash + p.hashCode();
    hash = 37 * hash + pfn.hashCode();
    return hash;
  }