示例#1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((kind == null) ? 0 : kind.hashCode());
   result = prime * result + ((path == null) ? 0 : path.hashCode());
   return result;
 }
示例#2
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((bool_val == null) ? 0 : bool_val.hashCode());
   result = prime * result + ((float_val == null) ? 0 : float_val.hashCode());
   result = prime * result + ((kind == null) ? 0 : kind.hashCode());
   result = prime * result + ((name == null) ? 0 : name.hashCode());
   result = prime * result + ((num_val == null) ? 0 : num_val.hashCode());
   result = prime * result + ((string_val == null) ? 0 : string_val.hashCode());
   result = prime * result + ((type == null) ? 0 : type.hashCode());
   return result;
 }