Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 454 for setValue (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K k = entry.getKey();
          V v = entry.getValue();
    
          List<V> values = multimap().get(k);
          List<V> expectedValues = copyToList(values);
    
          assertTrue(multimap().put(k, v));
          expectedValues.add(v);
          assertGet(k, expectedValues);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsByteSource) {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          } else {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForBytes(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            acquireSharedInterruptibly(-1);
            return getValue();
          }
    
          /**
           * Implementation of the actual value retrieval. Will return the value on success, an
           * exception on failure, a cancellation on cancellation, or an illegal state if the
           * synchronizer is in an invalid state.
           */
          private V getValue() throws CancellationException, ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
            this.importedFrom = location.getImportedFrom() != null ? new InputLocation(location.getImportedFrom()) : null;
        }
    
        public InputLocation(int lineNumber, int columnNumber) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            final Map<String, Object> docMap = new HashMap<>(32);
            if (searchHit.getSourceAsMap() == null) {
                searchHit.getFields().forEach((key, value) -> {
                    docMap.put(key, value.getValue());
                });
            } else {
                docMap.putAll(searchHit.getSourceAsMap());
            }
    
            final ViewHelper viewHelper = ComponentUtil.getViewHelper();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

            asDocMeta().version(version);
        }
    
        public org.codelibs.fess.crawler.client.http.RequestHeader getCrawlerRequestHeader() {
            return new org.codelibs.fess.crawler.client.http.RequestHeader(getName(), getValue());
        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        Entry<K, V> entry = iterator.next();
        K key = entry.getKey();
        V value = entry.getValue();
        multimap().removeAll(key);
        assertEquals(key, entry.getKey());
        assertEquals(value, entry.getValue());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                if (fieldConfigs.getConfig(e.getKey()).map(FieldConfigs.Config::isOverwrite).orElse(false)
                        && e.getValue() instanceof final Object[] values && values.length > 0) {
                    newDataMap.put(e.getKey(), values[values.length - 1]);
                } else {
                    newDataMap.put(e.getKey(), e.getValue());
                }
            }
            return newDataMap;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. 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(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top