"Comparable" default impl. plugin

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

2 comments
Comment actions Permalink

Hello Rami,

Is there a plugin or an integral feature that implements a default
Comparable interface? (as the "Equal & Hashcode implementation"
feature)


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!"


0
Comment actions Permalink

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

0

Please sign in to leave a comment.