Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 369 for SetValue (0.15 sec)

  1. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            propDesc.setValue(myBean, new Object());
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testGetValue_notReable() throws Exception {
            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("iii");
            propDesc.getValue(myBean);
        }
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 11.1K bytes
    - Viewed (0)
  2. 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: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 6.5K bytes
    - Viewed (0)
  3. 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: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 6.5K bytes
    - Viewed (0)
  4. 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: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 3K bytes
    - Viewed (0)
  5. 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: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            for (final LabelType labelType : labelTypeList) {
                final LabelTypeItem item = new LabelTypeItem();
                item.setLabel(labelType.getName());
                item.setValue(labelType.getValue());
                item.setPermissions(labelType.getPermissions());
                item.setVirtualHost(labelType.getVirtualHost());
                item.setLocale(labelType.getLocale());
                itemList.add(item);
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 11.7K bytes
    - Viewed (0)
  7. 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: 2025-05-30 12:43
    - Last Modified: 2025-02-19 21:24
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

      public K getKey() {
        return delegate().getKey();
      }
    
      @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);
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 4.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMapEntry.java

      public K getKey() {
        return delegate().getKey();
      }
    
      @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);
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 4.3K bytes
    - Viewed (0)
  10. 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: 2025-05-30 12:43
    - Last Modified: 2025-01-25 16:19
    - 8.4K bytes
    - Viewed (0)
Back to top