length method

int length()

Returns the number of key-value pairs in the map.

Implementation

int length() {
  return values.length;
}