Пример #1
0
  @Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;
    if (!(this.getClass() == obj.getClass())) return false;

    AbstractInspectorActivity a = (AbstractInspectorActivity) obj;

    return place.equals(a.place);
  }
Пример #2
0
 @Override
 public int hashCode() {
   return place.hashCode();
 }