Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 923 for key7 (0.11 seconds)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

              .addEqualityGroup(ImmutableSet.of())
              .testEquals();
          assertThat(keys).hasSize(WARMUP_SIZE);
          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Object key = warmed.get(i - WARMUP_MIN).getKey();
            assertThat(keys.contains(key)).isTrue();
            assertThat(keys.remove(key)).isTrue();
            assertThat(keys.remove(key)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
                checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry);
                prevKey = key;
              }
            }
            return new ImmutableSortedMap<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Multimap.java

       *     multimap already contained the key-value pair and doesn't allow duplicates
       */
      @CanIgnoreReturnValue
      boolean put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * Removes a single key-value pair with the key {@code key} and the value {@code value} from this
       * multimap, if such exists. If multiple key-value pairs in the multimap fit this description,
       * which one is removed is unspecified.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

        int[] entries = requireEntries();
        @Nullable Object[] keys = requireKeys();
        @Nullable Object[] values = requireValues();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Table.java

    /**
     * A collection that associates an ordered pair of keys, called a row key and a column key, with a
     * single value. A table may be sparse, with only a small fraction of row key / column key pairs
     * possessing a corresponding value.
     *
     * <p>The mappings corresponding to a given row key may be viewed as a {@link Map} whose keys are
     * the columns. The reverse is also available, associating a column with a row key / value map. Note
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MultimapBuilder.java

      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in the order that they were first added to the
       * multimap, save that if all values associated with a key are removed and then the key is added
       * back into the multimap, that key will come last in the key iteration order.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/MultimapBuilder.java

      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in the order that they were first added to the
       * multimap, save that if all values associated with a key are removed and then the key is added
       * back into the multimap, that key will come last in the key iteration order.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      SortedMap<K, V> create(Object... elements);
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      Multiset<K> createKeys() {
        return new Keys();
      }
    
      @WeakOuter
      final class Keys extends Multimaps.Keys<K, V> {
        Keys() {
          super(FilteredEntryMultimap.this);
        }
    
        @Override
        public int remove(@Nullable Object key, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(key);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/Cache.java

      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8K bytes
    - Click Count (0)
Back to Top