Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for setValue4 (2.56 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/collect/HashBiMapTest.java

          assertEquals(2 * i, (int) inverse.get(2 * i - 1));
        }
        Set<Entry<Integer, Integer>> entries = bimap.entrySet();
        for (Entry<Integer, Integer> entry : entries) {
          entry.setValue(entry.getValue() + 2 * N);
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i));
        }
      }
    
      public void testBiMapEntrySetIteratorRemove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMapEntry.java

      @Override
      @ParametricNullness
      public V getValue() {
        return delegate().getValue();
      }
    
      @Override
      @ParametricNullness
      @CanIgnoreReturnValue
      public V setValue(@ParametricNullness V value) {
        return delegate().setValue(value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

          assertEquals(2 * i, (int) inverse.get(2 * i - 1));
        }
        Set<Entry<Integer, Integer>> entries = bimap.entrySet();
        for (Entry<Integer, Integer> entry : entries) {
          entry.setValue(entry.getValue() + 2 * N);
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i));
        }
      }
    
      public void testBiMapEntrySetIteratorRemove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

      @Override
      @ParametricNullness
      public V getValue() {
        return delegate().getValue();
      }
    
      @Override
      @ParametricNullness
      @CanIgnoreReturnValue
      public V setValue(@ParametricNullness V value) {
        return delegate().setValue(value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        }
    
        @Override
        public void add(Entry<K, V> e) {
          throw new UnsupportedOperationException();
        }
    
        void setValue(@ParametricNullness V value) {
          checkState(current != null);
          current.setValue(value);
        }
      }
    
      /** An {@code Iterator} over distinct keys in key head order. */
      private final class DistinctKeyIterator implements Iterator<K> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top