★ GWT-TEH Demo ★
@ToStringEqualsHashCode
@ToStringEquals
@ToString
TEH stands for
T
oString
E
quals
H
ashCode
TEH uses annotations to implements toString, equals and hashCode, and forces these 2 rules :
any attribute used for hashCode will be used for equals and toString
any attribute used for equals will be used for toString
GWT-TEH uses the same annotations, and Code generation to make it available in both client and server sides.
Client ➡ Server
Client
Server
toString
...
...
equals
...
...
hashCode
...
...
Server ➡ Client
Client
Server
toString
...
...
equals
...
...
hashCode
...
...
Loading...
TEH on github
gwt-teh on github
Your web browser must have JavaScript enabled