Java Collection

 

Java collectin:

SortedSet is a sorted set: it will sort all items added into the set automatically according to its natural order or specified by comparator (you should build your own comparator)

Collections has many static methods , one of which is sort(list, comparator)

when finding an object, you should write your won equals

相关帖子:
  • No Related Posts
  • micas Jun 13th 2005 10:09 pm JavaBasic No Comments yet Trackback URI Comments RSS

    Leave a Reply

    You must be logged in to post a comment.