Support comparators in MapAdapter and SetAdapter
------------------------------------------------

                 Key: PIVOT-224
                 URL: https://issues.apache.org/jira/browse/PIVOT-224
             Project: Pivot
          Issue Type: Improvement
          Components: core-collections
    Affects Versions: 1.3
            Reporter: Greg Brown
            Priority: Trivial
             Fix For: 1.3


Use TreeMap/TreeSet as described below:

sample setComparator implementation:

private final TreeMap map;

public void setComparator(Comparator comp) {
 TreeMap newMap = new TreeMap(comp);
 newMap.addAll(this.map);
 this.map = newMap;
}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to