Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newEntries (0.06 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

              duplicates.put(entry, false);
            } else {
              continue; // delete this entry; we already copied an earlier one for the same key
            }
          }
          newEntries[out++] = entry;
        }
        return newEntries;
      }
    
      /** Makes an entry usable internally by a new ImmutableMap without rereading its contents. */
      static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry, K key, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMap.java

            return null;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntries = new Entry[size - dups.cardinality()];
          for (int inI = 0, outI = 0; inI < size; inI++) {
            if (!dups.get(inI)) {
              newEntries[outI++] = entries[inI];
            }
          }
          return newEntries;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

              hits++;
            }
          }
        }
    
        try {
          if (!keysToLoad.isEmpty()) {
            try {
              Map<K, V> newEntries = loadAll(unmodifiableSet(keysToLoad), defaultLoader);
              for (K key : keysToLoad) {
                V value = newEntries.get(key);
                if (value == null) {
                  throw new InvalidCacheLoadException("loadAll failed to return a value for " + key);
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top