k.org
Subject: Re: Let's discuss JDK-8338952
Andy, I think this is a good solution because it provides everything needed for
sorting.
Moreover, it complies with the generics of TableColumn.
For example,
var column = new TableColumn("First Name");
SortPolicy sortPolicy = ...
column.s
Andy, I think this is a good solution because it provides everything needed for
sorting.
Moreover, it complies with the generics of TableColumn.
For example,
var column = new TableColumn("First Name");
SortPolicy sortPolicy = ...
column.setSortPolicy(sortPolicy);
But don't you think the VALUE
One possible solution would be to deprecate the comparator property (not for
removal, keep it for backward compatibility), and add a new property
'sortPolicy' which will use an interface that can be evolved, as opposed to a
naive callback.
public interface SortPolicy {
public int compare(IT