MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / sort

Method sort

vm/JavaAPI/src/java/util/List.java:374–374  ·  view source on GitHub ↗

Sorts this list according to the order induced by the specified Comparator. A null comparator sorts by natural ordering.

(Comparator<? super E> c)

Source from the content-addressed store, hash-verified

372 * {@code Comparator}. A {@code null} comparator sorts by natural ordering.
373 */
374 default void sort(Comparator<? super E> c) {
375 Object[] a = toArray();
376 Arrays.sort(a, (Comparator) c);
377 ListIterator<E> it = listIterator();

Callers 15

capture.jsFile · 0.65
BaFunction · 0.65
aFunction · 0.65
createSortPermutationMethod · 0.65
oFunction · 0.65
SFunction · 0.65
invoke3Method · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected