示例#1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((href == null) ? 0 : href.hashCode());
   result = prime * result + id;
   result = prime * result + level;
   result = prime * result + ((name == null) ? 0 : name.hashCode());
   result = prime * result + ((parent == null) ? 0 : parent.hashCode());
   result = prime * result + sort;
   return result;
 }