MCPcopy Create free account
hub / github.com/LASER-UMASS/Themis / stableSort

Method stableSort

subjectSystems/C,D/core/Utils.java:1337–1376  ·  view source on GitHub ↗

Sorts a given array of doubles in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array. The sort is stable (Equal elements remain in their original order.) Occurrences of Double.NaN are treated as Double.MAX_VALUE @param array

(double [] array)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

buildAssociationsMethod · 0.95
mainMethod · 0.95
sortMethod · 0.95

Calls 3

quickSortMethod · 0.95
eqMethod · 0.95
cloneMethod · 0.65

Tested by 1

sortMethod · 0.76