@HashKey annotation?

42 views
Skip to first unread message

nil...@gmail.com

unread,
Oct 26, 2007, 2:50:08 PM10/26/07
to JSR-305: Annotations for Software Defect Detection
Don't know if this been mentioned before, but how about a class level
@HashKey annotation for annotating interfaces that is intended to be
used as keys in hash based collections?

(I sometimes still wish Sun would have given us an HashKey interface
with methods hashCode() and equals(Object), rather than giving us
default implementation for all objects).

Reply all
Reply to author
Forward
0 new messages