@Override
    public Integer get(Object key) {
      //noinspection deprecation
      return key instanceof IdIndexEntry entry ? myOccurrences.get((Object)entry.getWordHashCode()) : null;
    }
@Override
    public Integer get(Object key)