logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Jeremy Hodge
    • Posted on Wed 14 Dec 2011 06:47 AM

    TreeSets since 1.2...

    "adds the specified element e to this set if the set contains no element e2 such that (e==null ? e2==null : e.equals(e2))."

    TreeSet(Comparator<? super E> comparator)

    Constructs a new, empty tree set, sorted according to the specified comparator.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: