"Comparable" default impl. plugin Follow Rami Created December 30, 2007 16:33 Hello all,Is there a plugin or an integral feature that implements a default Comparable interface? (as the "Equal & Hashcode implementation" feature)thank you,Rami
Hello Rami,
There is no such feature in the core, and I'm not aware of any plugins that
implement it.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Maybe the generate toString() plugin could be used for that? People have previously talked about this with me.
You can add an interface(s) it should append the class and you can name the method compare() instead of toString(). etc.
However it could take a few goes before it is nearly there.
If you manage to get it working I would be happy to include it as a out-of-the-box feature for the plugin.
Claus, author of the toString() plugin