boolean (Object o) { if (o == this) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; final PyNamedTupleType type = (PyNamedTupleType)o; return Objects.equals(myName, type.myName) && Objects.equals(myFields.keySet(), type.myFields.keySet()); }