public boolean equals()

in colocation/src/main/java/org/apache/geode_examples/colocation/OrderKey.java [48:61]


  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)
      return false;
    if (getClass() != obj.getClass())
      return false;
    OrderKey other = (OrderKey) obj;
    if (!orderId.equals(other.getOrderId()))
      return false;
    if (!customerId.equals(other.getCustomerId()))
      return false;
    return true;
  }