We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.. which means suffering if someone tried to stick these into sets and map keys.
$ cat x.rdl type Foo struct { String bar; String baz; } $ rdl -ps generate java-model x.rdl
produces
// // This file generated by rdl 1.4.13. Do not modify! // import com.yahoo.rdl.*; // // Foo - // public class Foo { public String bar; public String baz; public Foo bar(String bar) { this.bar = bar; return this; } public Foo baz(String baz) { this.baz = baz; return this; } @Override public boolean equals(Object another) { if (this != another) { if (another == null || another.getClass() != Foo.class) { return false; } Foo a = (Foo) another; if (bar == null ? a.bar != null : !bar.equals(a.bar)) { return false; } if (baz == null ? a.baz != null : !baz.equals(a.baz)) { return false; } } return true; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
.. which means suffering if someone tried to stick these into sets and map keys.
produces
The text was updated successfully, but these errors were encountered: