Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 471 for getValue (0.32 sec)

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

          List<Entry<K, V>> builder = new ArrayList<>();
          for (Entry<K, Collection<V>> entry : insertionOrder) {
            for (V v : entry.getValue()) {
              builder.add(mapEntry(entry.getKey(), v));
            }
            map.put(entry.getKey(), entry.getValue());
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder);
          LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            return "{" + getUserId() + "}";
        }
    
        @Override
        public String getUserId() {
            return DocumentUtil.getValue(attributes, "email", String.class);
        }
    
        public String[] getUserGroups() {
            String[] userGroups = DocumentUtil.getValue(attributes, "groups", String[].class);
            if (userGroups == null) {
                userGroups = getDefaultGroupsAsArray();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          CRC32 checksum = new CRC32();
          checksum.update(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

        for (Entry<K, V> entry : getSampleElements()) {
          expected.add(entry.getValue());
        }
        assertEqualIgnoringOrder(expected, multimap().values());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testValuesInOrder() {
        List<V> expected = Lists.newArrayList();
        for (Entry<K, V> entry : getOrderedElements()) {
          expected.add(entry.getValue());
        }
        assertEqualInOrder(expected, multimap().values());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

            this.bannedPrefix = bannedPrefix;
            this.newPrefix = newPrefix;
            this.problems = problems;
        }
    
        @Override
        public Object getValue(String expression) {
            Object value = valueSource.getValue(expression);
    
            if (value != null && expression.startsWith(bannedPrefix)) {
                String msg = "The expression ${" + expression + "} is deprecated.";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
            expectedEntrySetHash += expectedHash;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

        for (Entry<K, V> entry : getSampleElements()) {
          expected.add(entry.getValue());
        }
        assertEqualIgnoringOrder(expected, multimap().values());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testValuesInOrder() {
        List<V> expected = Lists.newArrayList();
        for (Entry<K, V> entry : getOrderedElements()) {
          expected.add(entry.getValue());
        }
        assertEqualInOrder(expected, multimap().values());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                    if (bitsField != null && !bitsField.getValues().isEmpty()) {
                                        docMap.put(fessConfig.getQueryCollapseInnerHitsName() + "_hash", bitsField.getValues().get(0));
                                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

                if (pos == current) {
                    newClientMap.put(Pattern.compile(regex), client);
                    added = true;
                }
                newClientMap.put(entry.getKey(), entry.getValue());
                current++;
            }
            if (!added) {
                newClientMap.put(Pattern.compile(regex), client);
            }
            clientMap = newClientMap;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top