Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for setValue2 (0.09 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          cache.invalidate(1);
          assertEquals(0, cache.size());
    
          entry.setValue(3);
          assertEquals(1, cache.size());
          assertEquals(3, cache.getIfPresent(1));
          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

        BiMapEntry(Entry<K, V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        protected Entry<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public V setValue(V value) {
          checkValue(value);
          // Preconditions keep the map and inverse consistent.
          checkState(entrySet().contains(this), "entry no longer in map");
          // similar to putInBothMaps, but set via entry
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        protected Entry<K, V> delegate() {
          return delegate;
        }
    
        @Override
        @ParametricNullness
        public V setValue(@ParametricNullness V value) {
          throw new UnsupportedOperationException();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(UnsupportedOperationException.class, () -> fromIterator.setValue(2));
        Entry<String, Integer> fromToArray = (Entry<String, Integer>) unmod.entries().toArray()[0];
        assertThrows(UnsupportedOperationException.class, () -> fromToArray.setValue(2));
        Entry<String, Integer>[] array = (Entry<String, Integer>[]) new Entry<?, ?>[2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

                    return entry;
                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
    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/Maps.java

                    return entry;
                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRoleTypeBhv.java

                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setValue(DfTypeUtil.toString(source.get("value")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap<String, String> map = ImmutableMap.copyOf(entryList);
        assertThat(map).containsExactly("a", "1", "b", "2").inOrder();
        entryList.get(0).setValue("3");
        assertThat(map).containsExactly("a", "1", "b", "2").inOrder();
      }
    
      public void testBuilderPutAllEntryList() {
        List<Entry<String, String>> entryList =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                                public String getValue() {
                                    return entry.getValue();
                                }
    
                                public String setValue(String value) {
                                    String old = entry.setValue(value);
                                    if (old == null || !old.equals(value)) {
                                        Layout l = layout.get(entry.getKey());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                                        if (!interpolated.equals(value)) {
                                                            try {
                                                                entry.setValue(interpolated);
                                                            } catch (UnsupportedOperationException e) {
                                                                if (debugEnabled && logger != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top