Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 110 for setValue1 (0.04 seconds)

  1. guava/src/com/google/common/collect/ArrayTable.java

            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
          return new AbstractIndexedListIterator<Entry<K, V>>(size()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
        {
          Entry<Integer, String> entry = unmod.lowerEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
          Entry<Integer, String> entry = unmod.higherEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            List<LabelType> labelTypeList = new ArrayList<>();
    
            LabelType labelType1 = new LabelType();
            labelType1.setName("Test Label 1");
            labelType1.setValue("test1");
            labelType1.setPermissions(new String[0]);
            labelType1.setVirtualHost("");
            // Locale is derived from value, not set directly
            labelType1.setIncludedPaths("/test.*");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  4. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                            dataMap.put(mapping.getValue1(), values);
                        } else if (Constants.MAPPING_TYPE_STRING.equalsIgnoreCase(mapping.getValue2())) {
                            final String joinedValue = StringUtils.join(values, ' ');
                            dataMap.put(mapping.getValue1(), joinedValue.trim());
                        } else if (values.length == 1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  6. 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()}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. 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
    - 27K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        }
        int oldCount = backingMap.getValue(entryIndex);
        long newCount = (long) oldCount + (long) occurrences;
        checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount);
        backingMap.setValue(entryIndex, (int) newCount);
        size += occurrences;
        return oldCount;
      }
    
      @CanIgnoreReturnValue
      @Override
      public final int remove(@Nullable Object element, int occurrences) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top