コード例 #1
0
 public int hashCode() {
   int result;
   result = dataText.hashCode();
   result = 29 * result + direction.hashCode();
   result = 29 * result + dataPathBrowser.hashCode();
   return result;
 }
コード例 #2
0
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof Data2DataPathWidgetAdapter2)) return false;

    final Data2DataPathWidgetAdapter2 data2DataPathWidgetAdapter2 = (Data2DataPathWidgetAdapter2) o;

    if (!dataPathBrowser.equals(data2DataPathWidgetAdapter2.dataPathBrowser)) return false;
    if (!dataText.equals(data2DataPathWidgetAdapter2.dataText)) return false;
    if (!direction.equals(data2DataPathWidgetAdapter2.direction)) return false;

    return true;
  }