Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for forcePut (0.15 sec)

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

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final V forcePut(K key, V value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

        BiMap<K, V> unfiltered() {
          return (BiMap<K, V>) unfiltered;
        }
    
        @Override
        @CheckForNull
        public V forcePut(@ParametricNullness K key, @ParametricNullness V value) {
          checkArgument(apply(key, value));
          return unfiltered().forcePut(key, value);
        }
    
        @Override
        public BiMap<V, K> inverse() {
          return inverse;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

            }
            return valueSet;
          }
        }
    
        @Override
        @CheckForNull
        public V forcePut(@ParametricNullness K key, @ParametricNullness V value) {
          synchronized (mutex) {
            return delegate().forcePut(key, value);
          }
        }
    
        @Override
        public BiMap<V, K> inverse() {
          synchronized (mutex) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          unmod.put(4, "four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.forcePut(4, "four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putAll(Collections.singletonMap(4, "four"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          unmod.put(4, "four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.forcePut(4, "four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putAll(Collections.singletonMap(4, "four"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top