Ejemplo n.º 1
0
 @Override
 public int hashCode() {
   int result = index.hashCode();
   result = 31 * result + state.hashCode();
   result = 31 * result + aliases.hashCode();
   result = 31 * result + settings.hashCode();
   result = 31 * result + mappings.hashCode();
   return result;
 }
 @Override
 public int hashCode() {
   int result = name.hashCode();
   result = 31 * result + order;
   result = 31 * result + template.hashCode();
   result = 31 * result + settings.hashCode();
   result = 31 * result + mappings.hashCode();
   return result;
 }
 static String identify(final Settings settings) {
   return toHexString(settings.hashCode());
 }