toInt method

int toInt()

Get the key index as an integer.

Implementation

int toInt() {
  return index;
}