MCPcopy Create free account
hub / github.com/BaseXdb/basex / sort

Method sort

basex-core/src/main/java/org/basex/util/Table.java:76–79  ·  view source on GitHub ↗

Sorts the table by the first column. @return self reference

()

Source from the content-addressed store, hash-verified

74 * @return self reference
75 */
76 public Table sort() {
77 contents.sort((tl1, tl2) -> compare(lc(tl1.get(0)), lc(tl2.get(0))));
78 return this;
79 }
80
81 /**
82 * Moves the specified string to top.

Callers 15

infoMethod · 0.95
listMethod · 0.95
listResourcesMethod · 0.95
runMethod · 0.95
runMethod · 0.95
findMethod · 0.45
findWsMethod · 0.45
normalizeSelectionFunction · 0.45
finishMethod · 0.45
infoMethod · 0.45
emitAttributesMethod · 0.45
emitNamespacesMethod · 0.45

Calls 3

getMethod · 0.65
compareMethod · 0.45
lcMethod · 0.45

Tested by

no test coverage detected