public boolean containsValue(int value) {

    Entry[] tab = table;
    for (final Entry entry : tab) {
      for (Entry e = entry; e != null; e = e.next) {
        if (value == e.value) {
          return true;
        }
      }
    }
    return false;
  }
Returns <tt>true</tt> if this map maps one or more keys to the specified value.

@param value value whose presence in this map is to be tested
@return <tt>true</tt> if this map maps one or more keys to the specified value
geode-core/src/main/java/org/apache/geode/cache/query/internal/ObjectIntHashMap.java