Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 658 for keyvalue (0.13 seconds)

  1. android/guava/src/com/google/common/collect/ArrayTable.java

            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals("test", entry.getValue());
        assertThrows(UnsupportedOperationException.class, () -> entry.setValue(1));
      }
    
      public void testPutAndGetInstance() {
        assertThat(map.putInstance(Integer.class, Integer.valueOf(5))).isNull();
    
        Integer oldValue = map.putInstance(Integer.class, Integer.valueOf(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. api/go1.txt

    pkg expvar, method (Func) String() string
    pkg expvar, type Float struct
    pkg expvar, type Func func() interface{}
    pkg expvar, type Int struct
    pkg expvar, type KeyValue struct
    pkg expvar, type KeyValue struct, Key string
    pkg expvar, type KeyValue struct, Value Var
    pkg expvar, type Map struct
    pkg expvar, type String struct
    pkg expvar, type Var interface { String }
    pkg expvar, type Var interface, String() string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
          alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED);
          return oldValue.getValue();
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object key) {
        synchronized (lock) {
          Timestamped<V> stamped = cachingHashMap.remove(key);
          if (stamped != null) {
            V value = stamped.getValue();
            // `key` was in the cache, so it's a K.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

       */
      private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) {
        checkArgument(entry != ABSENT);
        int newValueHash = smearedHash(newValue);
        int newValueIndex = findEntryByValue(newValue, newValueHash);
        if (newValueIndex != ABSENT) {
          if (force) {
            removeEntryValueHashKnown(newValueIndex, newValueHash);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

        /*
         * We inherit equals() and hashCode() instead of overriding them to use keyEquivalence and
         * valueEquivalence.
         */
    
        @Override
        public V setValue(V newValue) {
          put(getKey(), newValue);
          return super.setValue(newValue); // done after put() so that it happens only if put() succeeds
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractBiMap.java

          @ParametricNullness K key,
          boolean containedKey,
          @Nullable V oldValue,
          @ParametricNullness V newValue) {
        if (containedKey) {
          // The cast is safe because of the containedKey check.
          removeFromInverseMap(uncheckedCastNullableTToT(oldValue));
        }
        inverse.delegate.put(newValue, key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /*
         * We inherit equals() and hashCode() instead of overriding them to use keyEquivalence and
         * valueEquivalence.
         */
    
        @Override
        public V setValue(V newValue) {
          put(getKey(), newValue);
          return super.setValue(newValue); // done after put() so that it happens only if put() succeeds
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

          @ParametricNullness K key,
          boolean containedKey,
          @Nullable V oldValue,
          @ParametricNullness V newValue) {
        if (containedKey) {
          // The cast is safe because of the containedKey check.
          removeFromInverseMap(uncheckedCastNullableTToT(oldValue));
        }
        inverse.delegate.put(newValue, key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
              return immediateFuture(null);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
Back to Top