Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 427 for getValue5 (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Stream.of(mapEntry("one", 1), mapEntry("one", 11)).collect(collector));
      }
    
      public void testToImmutableSortedMapMerging() {
        Collector<Entry<String, Integer>, ?, ImmutableSortedMap<String, Integer>> collector =
            toImmutableSortedMap(Entry::getKey, Entry::getValue, Integer::sum);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

        stream.writeInt(multimap.asMap().size());
        for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeInt(entry.getValue().size());
          for (V value : entry.getValue()) {
            stream.writeObject(value);
          }
        }
      }
    
      /**
       * Populates a multimap by reading an input stream, as part of deserialization. See {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/TableCollectors.java

                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
                    table1, cell2.getRowKey(), cell2.getColumnKey(), cell2.getValue(), mergeFunction);
              }
              return table1;
            });
      }
    
      private static final class ImmutableTableCollectorState<R, C, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * @return the converted value or the default value if not found
         */
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) {
            final T value = getValue(doc, key, clazz);
            if (value == null) {
                return defaultValue;
            }
            return value;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      // Bulk Operations
    
      @Override
      public void putAll(Map<? extends K, ? extends V> map) {
        for (Entry<? extends K, ? extends V> entry : map.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
        this.delegate.replaceAll(function);
        inverse.delegate.clear();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsCharSource) {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          } else {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForString(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

          if (delegate != null) {
            return uncheckedCastNullableTToT(delegate.put(key, value)); // See discussion in getValue().
          }
          updateLastKnownIndex();
          if (lastKnownIndex == -1) {
            put(key, value);
            return unsafeNull(); // See discussion in getValue().
          } else {
            V old = value(lastKnownIndex);
            CompactHashMap.this.setValue(lastKnownIndex, value);
    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)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

       * multimap, {@link Entry#getValue} returns the value from the multimap, which may change over
       * time, and {@link Entry#setValue} modifies that value. Removing the mapping from the multimap
       * does not alter the value returned by {@code getValue()}, though a subsequent {@code setValue()}
       * call won't update the multimap but will lead to a revised value being returned by {@code
       * getValue()}.
       */
      @Override
    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)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
      /** Returns a new builder for an immutable range map. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            keptAccessors.entrySet().removeIf(e -> {
                if (seenUpgradedAccessorsChanges.contains(e.getKey())) {
                    return true;
                }
                ReplacedAccessor accessor = e.getValue();
                return accessor.getBinaryCompatibility() == BinaryCompatibility.ACCESSORS_KEPT;
            });
            if (!keptAccessors.isEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top