예제 #1
0
 @Override
 public int hashCode() {
   int result = interception.hashCode();
   result = 31 * result + interceptorRef.hashCode();
   result = 31 * result + interceptionId.hashCode();
   return result;
 }
예제 #2
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    InterceptionTriple that = (InterceptionTriple) o;

    if (!interception.equals(that.interception)) return false;
    if (!interceptionId.equals(that.interceptionId)) return false;
    if (!interceptorRef.equals(that.interceptorRef)) return false;

    return true;
  }