Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 389 for getValue2 (0.12 sec)

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

          ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          for (Object element : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) element;
            multimap.put(entry.getKey(), entry.getValue());
          }
          return multimap.entries();
        }
    
        abstract Multimap<String, Integer> createMultimap();
    
        @Override
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        for (int i = 0; i < n; i++) {
          // requireNonNull is safe because the first `n` elements have been filled in.
          Entry<K, V> entry = requireNonNull(entryArray[i]);
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int keyHash = key.hashCode();
          int valueHash = value.hashCode();
          int keyBucket = Hashing.smear(keyHash) & mask;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

           */
          if (key.equals(candidateKey)) {
            return entry.getValue();
          }
        }
        return null;
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        for (Entry<K, V> entry : entries) {
          action.accept(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top