@Override
    public int hashCode() {
      final int prime = 31;
      int result = 1;
      result = prime * result
          + ((accesses == null) ? 0 : accesses.hashCode());
      result = prime * result
          + ((conditions == null) ? 0 : conditions.hashCode());
      result = prime * result
          + ((delegateAdmin == null) ? 0 : delegateAdmin.hashCode());
      result = prime * result
          + ((groups == null) ? 0 : groups.hashCode());
      result = prime * result + ((users == null) ? 0 : users.hashCode());
      return result;
    }
@param delegateAdmin the delegateAdmin to set
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ranger/RangerPolicy.java