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