[
https://issues.apache.org/jira/browse/PIVOT-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noel Grandin resolved PIVOT-224.
--------------------------------
Resolution: Fixed
Patch checked in with required changes.
> 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
> Assignee: Noel Grandin
> Priority: Trivial
> Fix For: 1.3
>
> Attachments: collections.patch
>
>
> 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.