I have a collection of thing. I do not care whether
there is duplication or not. I can use Set to prohibit
duplication. I can also use list and bag.
If I use Set rather than list/bag, I think the
performance is not so good as it is for list/bag,
since set has to limit duplication.

I noticed that <index> tag is required for list. But
if I used linked list, I do not care about index. Can
I omit the <index> tag?

Therefore I think bag is a good choice for my
implementation: no index tag requirement and no
performance penalty from set. However where the bag is
declared? I looked through java.util.*. I did not find
it.

Thanks

jason



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to