mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
210 B
Java
10 lines
210 B
Java
class Test {
|
|
void f(int size, int[] array) {
|
|
for (int i = 0; i < size; i++) {
|
|
int x = i;
|
|
<selection>int tmp = array[i];
|
|
array[i] = array[x];
|
|
array[x] = tmp;</selection>
|
|
}
|
|
}
|
|
} |