Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for newValue2 (0.09 sec)

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

        @CheckForNull
        public T get() {
          return value;
        }
    
        public void checkAndSet(@CheckForNull T expected, @CheckForNull T newValue) {
          if (value != expected) {
            throw new ConcurrentModificationException();
          }
          value = newValue;
        }
    
        void clear() {
          value = null;
        }
      }
    
      private static final class AvlNode<E extends @Nullable Object> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

        @CheckForNull
        public T get() {
          return value;
        }
    
        public void checkAndSet(@CheckForNull T expected, @CheckForNull T newValue) {
          if (value != expected) {
            throw new ConcurrentModificationException();
          }
          value = newValue;
        }
    
        void clear() {
          value = null;
        }
      }
    
      private static final class AvlNode<E extends @Nullable Object> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().putIfAbsent(key, value);
          }
        }
    
        @Override
        public boolean replace(K key, V oldValue, V newValue) {
          synchronized (mutex) {
            return delegate().replace(key, oldValue, newValue);
          }
        }
    
        @Override
        @CheckForNull
        public V replace(K key, V value) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
        Set<K> createKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
        Set<K> createKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean replace(K key, V oldValue, V newValue) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top