Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 451 for GetValue (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testSetValue_valuePresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testSetValue_valuePresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        } finally {
          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
         * - If the stack overflowed before set()/setValue() could even store the result in the output
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/mdo/profiles.mdo

                {
                    RepositoryBase other =  (RepositoryBase) obj;
    
                    boolean retValue = false;
    
                    if ( id != null )
                    {
                        retValue = id.equals( other.id );
                    }
    
                    return retValue;
                }
              ]]></code>
            </codeSegment>
          </codeSegments>
        </class>
        <class>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          } while (chars.contains(c));
          chars.add(c);
        }
        char[] retValue = new char[chars.size()];
        int i = 0;
        for (char c : chars) {
          retValue[i++] = c;
        }
        Arrays.sort(retValue);
        return retValue;
      }
    
      public void testToString() {
        assertToStringWorks("CharMatcher.none()", CharMatcher.anyOf(""));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. android/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)
  8. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. api/maven-api-settings/src/main/mdo/settings.mdo

         */
        public boolean equals(Object obj) {
            RepositoryBase other = (RepositoryBase) obj;
            boolean retValue = false;
            if (this.getId() != null) {
                retValue = this.getId().equals(other.getId());
            }
            return retValue;
        }
                ]]>
              </code>
            </codeSegment>
          </codeSegments>
        </class>
    
        <class>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoParamBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setKey(DfTypeUtil.toString(source.get("key")));
                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.8K bytes
    - Viewed (0)
Back to top