package com.l7tech.server.identity;

import com.l7tech.objectmodel.Goid;
import com.l7tech.policy.assertion.credential.LoginCredentials;

class a {
   private int a = -1;
   private final Goid b;
   private final LoginCredentials c;

   private a(Goid var1, LoginCredentials var2) {
      this.b = var1;
      this.c = var2;
   }

   @Override
   public boolean equals(Object var1) {
      if (this == var1) {
         return true;
      }

      if (var1 != null && this.getClass() == var1.getClass()) {
         a var2 = (a)var1;
         if (this.b != null ? this.b.equals(var2.b) : var2.b == null) {
            return this.c != null ? this.c.equals(var2.c) : var2.c == null;
         } else {
            return false;
         }
      } else {
         return false;
      }
   }

   @Override
   public int hashCode() {
      if (this.a == -1) {
         int var1 = this.b != null ? this.b.hashCode() : 0;
         var1 = 31 * var1 + (this.c != null ? this.c.hashCode() : 0);
         this.a = var1;
      }

      return this.a;
   }
}
