MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / swap

Method swap

app/src/main/java/cs/threephase/Edge3.java:520–527  ·  view source on GitHub ↗
(int[] arr, int a, int b, int c, int d)

Source from the content-addressed store, hash-verified

518 }
519
520 void swap(int[] arr, int a, int b, int c, int d) {
521 tempi = arr[a];
522 arr[a] = arr[c];
523 arr[c] = tempi;
524 tempi = arr[b];
525 arr[b] = arr[d];
526 arr[d] = tempi;
527 }
528
529 void swapx(int x, int y) {
530 tempi = edge[x];

Callers 1

moveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected