public int get(int key, int defaultValue) {
    int index = getKeyIndex(key);
    if (index >= 0) {
      return values[index];
    } else {
      return defaultValue;
    }
  }
public int get ( int key , int defaultValue ) { int index = getKeyIndex ( key ) ; if ( index >= 0 ) { return values [ index ] ; } else { return defaultValue ; } }
If this map does not contain {@code key}, {@code defaultValue} is returned.

@param key
@return