Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for setValue3 (0.29 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
            UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1));
      }
    
      public void testEntrySetToArrayMutationThrows() {
        map.putInstance(String.class, "test");
        @SuppressWarnings("unchecked") // Should get a CCE later if cast is wrong
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Table.java

       * {@code put()} or {@code putAll()}, or {@code setValue()} on its entries.
       *
       * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those
       * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code
       * putAll()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        return false;
                    }
                    if ("admin".equalsIgnoreCase(v.getValue3()) || "common".equalsIgnoreCase(v.getValue3())
                            || "error".equalsIgnoreCase(v.getValue3()) || "login".equalsIgnoreCase(v.getValue3())
                            || "profile".equalsIgnoreCase(v.getValue3())) {
                        return false;
                    }
                    return true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          // Expected.
        }
        assertInvariants(map);
      }
    
      public void testEntrySetSetValue() {
        // TODO: Investigate the extent to which, in practice, maps that support
        // put() also support Entry.setValue().
        if (!supportsPut) {
          return;
        }
    
        Map<K, V> map;
        V valueToSet;
        try {
          map = makePopulatedMap();
          valueToSet = getValueNotInPopulatedMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

      @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);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapEntry.java

      }
    
      @Override
      @ParametricNullness
      public final V getValue() {
        return super.getValue();
      }
    
      @Override
      @ParametricNullness
      public final V setValue(@ParametricNullness V value) {
        return super.setValue(value);
      }
    
      @Nullable ImmutableMapEntry<K, V> getNextInKeyBucket() {
        return null;
      }
    
      @Nullable ImmutableMapEntry<K, V> getNextInValueBucket() {
        return null;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        }
    
        @Override
        public void add(Entry<K, V> e) {
          throw new UnsupportedOperationException();
        }
    
        void setValue(@ParametricNullness V value) {
          checkState(current != null);
          current.setValue(value);
        }
      }
    
      /** An {@code Iterator} over distinct keys in key head order. */
      private final class DistinctKeyIterator implements Iterator<K> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        }
    
        public void test_register_complexObject() {
            RenderData data = new RenderData();
    
            ComplexObject obj = new ComplexObject();
            obj.setValue("complex value");
    
            RenderDataUtil.register(data, "complex", obj);
    
            Object result = data.getDataMap().get("complex");
            assertEquals(obj, result); // Non-entity objects are registered as-is
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top