getKey method

int getKey(
  1. int i,
  2. int j
)

getKey

Implementation

int getKey(int i, int j) {
  if (j < i) {
    final temp = j;
    j = i;
    i = temp;
  }
  return (i << 16) | j;
}