MCPcopy Create free account
hub / github.com/GateNLP/gate-core / setComparator

Method setComparator

src/main/java/gate/swing/XJTable.java:505–507  ·  view source on GitHub ↗

Sets the custom comparator to be used for a particular column. Columns that don't have a custom comparator will be sorted using the natural order. @param column the column index. @param comparator the comparator to be used.

(int column, Comparator<?> comparator)

Source from the content-addressed store, hash-verified

503 * @param comparator the comparator to be used.
504 */
505 public void setComparator(int column, Comparator<?> comparator){
506 columnData.get(column).comparator = comparator;
507 }
508
509 /**
510 * @return Returns the sortable.

Callers 7

sortMethod · 0.45
runMethod · 0.45
initGUIMethod · 0.45
initGuiMethod · 0.45
actionPerformedMethod · 0.45
AvailablePluginsMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected