Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sorting Object vector

807589Sep 25 2008 — edited Sep 25 2008
Hi all,
I have a Vector of Objects with several properties (int, string and other Objects as well). I would like to sort the vector according to properties. I know how to do this when you have only one property, but I couldn't find any example of objects inside the vector with multiple (and heterogeneous) properties.
Any hint?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2008
Added on Sep 25 2008
2 comments
103 views