package com.intellij.util.containers;

import gnu.trove.TIntIntHashMap;

public final class IntIntHashMap extends TIntIntHashMap {
  public IntIntHashMap(int initialCapacity) {
    super(initialCapacity);
  }

  public IntIntHashMap() {
  }

  @Override
  public int get(int key) {
    int index = index(key);
    return index < 0 ? -1 : _values[index];
  }
}
@@ -124,16 +124,102 @@
 shMap %7B%0A
+  private static final int DEFAULT_NULL_VALUE = -1;%0A%0A  private final int NULL_VALUE;%0A%0A
   public
@@ -252,16 +252,32 @@
 Capacity
+, int null_value
 ) %7B%0A    
@@ -306,37 +306,201 @@
 ;%0A  
-%7D%0A%0A  public IntIntHashMap() %7B
+  NULL_VALUE = null_value;%0A  %7D%0A%0A  public IntIntHashMap(int initialCapacity) %7B%0A    this(initialCapacity, DEFAULT_NULL_VALUE);%0A  %7D%0A%0A  public IntIntHashMap() %7B%0A    NULL_VALUE = DEFAULT_NULL_VALUE;
 %0A  %7D
@@ -592,18 +592,26 @@
 x %3C 0 ? 
--1
+NULL_VALUE
  : _valu

Add NULL_VALUE to IntIntHashMap.