private void cacheData(int nameId,
                         @Nullable String name) {
    int mruCacheEntryIndex = toIndex(nameId);
    CacheEntryNameWithId entry = mruCache[mruCacheEntryIndex];
    if (entry != null && entry.nameId == nameId) {
      return;//already cached
    }
    mruCache[mruCacheEntryIndex] = new CacheEntryNameWithId(nameId, name);
  }
private void cacheData(int nameId,
                         @Nullable String name)