Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 105 for setValue4 (0.04 seconds)

  1. 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> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

        }
    
        @Override
        @ParametricNullness
        public K setValue(@ParametricNullness K value) {
          K obverseKey = value;
          updateIndex();
          if (index == ABSENT) {
            obverse.putInverse(obverseValue, obverseKey, false);
            return unsafeNull(); // see EntryForKey.setValue()
          }
          K oldObverseKey =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
        public V setValue(V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.setValue(value);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask));
        this.setKey(entryIndex, key);
        this.setValue(entryIndex, value);
      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/misc/ValueHolder.java

         * @return The value
         */
        public T getValue() {
            return value;
        }
    
        /**
         * Sets the value.
         *
         * @param value
         *            The value
         */
        public void setValue(final T value) {
            this.value = value;
        }
    
        @Override
        public String toString() {
            return value.toString();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                          return new Entry<String, String>() {
    
                            @Override
                            public String setValue(String value) {
                              checkNotNull(value);
                              return next.setValue(value);
                            }
    
                            @Override
                            public String getValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractMapEntry.java

      @Override
      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
      public abstract V getValue();
    
      @Override
      @ParametricNullness
      public V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Entry) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractMapEntry.java

      @Override
      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
      public abstract V getValue();
    
      @Override
      @ParametricNullness
      public V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Entry) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        }
    
        @Test
        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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top