Swaps array[i] with array[j].
(Object[] array, int i, int j)
| 218 | * Swaps {@code array[i]} with {@code array[j]}. |
| 219 | */ |
| 220 | static void swap(Object[] array, int i, int j) { |
| 221 | Object temp = array[i]; |
| 222 | array[i] = array[j]; |
| 223 | array[j] = temp; |
| 224 | } |
| 225 | |
| 226 | @CanIgnoreReturnValue |
| 227 | static Object[] checkElementsNotNull(Object... array) { |
no outgoing calls
no test coverage detected