MCPcopy Create free account
hub / github.com/ReadyTalk/avian / sort

Method sort

classpath/java/util/Arrays.java:145–152  ·  view source on GitHub ↗
(Object[] array)

Source from the content-addressed store, hash-verified

143 }
144
145 public static void sort(Object[] array) {
146 sort(array, new Comparator() {
147 @Override
148 public int compare(Object a, Object b) {
149 return ((Comparable) a).compareTo(b);
150 }
151 });
152 }
153
154 private final static int SORT_SIZE_THRESHOLD = 16;
155

Callers 4

testSortMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
testSortMethod · 0.45

Calls 2

introSortMethod · 0.95
insertionSortMethod · 0.95

Tested by 4

testSortMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
testSortMethod · 0.36