Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setValue5 (0.07 sec)

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

          protected Entry<Class<? extends @NonNull B>, B> delegate() {
            return entry;
          }
    
          @Override
          @ParametricNullness
          public B setValue(@ParametricNullness B value) {
            cast(getKey(), value);
            return super.setValue(value);
          }
        };
      }
    
      @Override
      public Set<Entry<Class<? extends @NonNull B>, B>> entrySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayTable.java

            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
          return new AbstractIndexedListIterator<Entry<K, V>>(size()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Clears the reference queues used by this segment, if any. */
        void maybeClearReferenceQueues() {}
    
        /** Sets the value of the given {@code entry}. */
        void setValue(E entry, V value) {
          this.map.entryHelper.setValue(self(), entry, value);
        }
    
        /** Returns a copy of the given {@code entry}. */
        @Nullable E copyEntry(E original, E newNext) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        }
    
        @Override
        @ParametricNullness
        public K setValue(@ParametricNullness K key) {
          updateIndex();
          if (index == ABSENT) {
            biMap.putInverse(value, key, false);
            return unsafeNull(); // see EntryForKey.setValue()
          }
          K oldKey = uncheckedCastNullableTToT(biMap.keys[index]); // see EntryForKey.setValue()
          if (Objects.equals(oldKey, key)) {
            return key;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          // Expected.
        }
        assertInvariants(map);
      }
    
      public void testEntrySetSetValue() {
        // TODO: Investigate the extent to which, in practice, maps that support
        // put() also support Entry.setValue().
        if (!supportsPut) {
          return;
        }
    
        Map<K, V> map;
        V valueToSet;
        try {
          map = makePopulatedMap();
          valueToSet = getValueNotInPopulatedMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            final Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                final Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List) entry.getValue()));
            }
            return headerFields = Collections.unmodifiableMap(map);
        }
    
        @Override
        public Map getHeaderFields() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            return value;
          }
    
          @Override
          public V setValue(V value) {
            throw new UnsupportedOperationException();
          }
    
          @SuppressWarnings("unchecked")
          @Override
          public boolean equals(@Nullable Object o) {
            if (o instanceof Entry) {
              Entry<K, V> e = (Entry<K, V>) o;
              e.setValue(value); // muhahaha!
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        Set<Entry<K, V>> es = entrySet;
        return (es != null) ? es : (entrySet = new EntrySet(this));
      }
    
      /**
       * Custom Entry class used by EntryIterator.next(), that relays setValue changes to the underlying
       * map.
       */
      private final class WriteThroughEntry implements Entry<K, V> {
        final K key;
        V value;
    
        WriteThroughEntry(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                key = this.connection.getHeaderFieldKey(i);
                value = this.connection.getHeaderField(i);
            }
            for (final Entry<String, List<String>> entry : map.entrySet()) {
                entry.setValue(Collections.unmodifiableList(entry.getValue()));
            }
            return this.headerFields = Collections.unmodifiableMap(map);
        }
    
        @Override
        public Map<String, List<String>> getHeaderFields() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top