Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 312 for getValues (0.05 seconds)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          for (Table.Cell<String, SecretKey, HashFunction> cell : ALGORITHMS.cellSet()) {
            String algorithm = cell.getRowKey();
            SecretKey key = cell.getColumnKey();
            HashFunction hashFunc = cell.getValue();
            assertMacHashing(HashTestUtils.ascii(stringToTest), algorithm, key, hashFunc);
          }
        }
      }
    
      @AndroidIncompatible // sun.security
      public void testNoProviders() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 13.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

            return multimap().containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          if (o instanceof Map.Entry) {
            Map.Entry<?, ?> entry = (Map.Entry<?, ?>) o;
            return multimap().remove(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 86.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        int sum = 0;
        for (Entry<Integer, Integer> current : cache.asMap().entrySet()) {
          sum += current.getKey() + current.getValue();
        }
        assertThat(sum).isEqualTo(57);
      }
    
      @Test
      public void asMapValues_iteratorRemove() {
        Cache<Integer, Integer> cache =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            + ", please read the following articles:");
    
                    for (Map.Entry<String, String> entry : references.entrySet()) {
                        context.logger.error(MessageUtils.builder().strong(entry.getValue()) + " " + entry.getKey());
                    }
                }
    
                if (result.canResume()) {
                    logBuildResumeHint(context, "mvn [args] -r");
                } else if (!failedProjects.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
                Document pomDocument = entry.getValue();
                processedPoms.add(pomPath);
    
                String currentVersion = ModelVersionUtils.detectModelVersion(pomDocument);
                context.info(pomPath + " (current: " + currentVersion + ")");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
          assertCollectionIsUnmodifiable(values, sampleValue);
        }
    
        // Test #entries()
        assertCollectionIsUnmodifiable(multimap.entries(), immutableEntry(sampleKey, sampleValue));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

              public void onRemoval(RemovalNotification<Integer, AtomicInteger> notification) {
                if (notification.wasEvicted()) {
                  evictionCount.incrementAndGet();
                  totalSum.addAndGet(notification.getValue().get());
                }
              }
            };
    
        CacheLoader<Integer, AtomicInteger> loader =
            new CacheLoader<Integer, AtomicInteger>() {
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
        assertMapEquals(builder.buildOrThrow(), "one", 1);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            Object o22 = properties.get(KEY1);
            assertEquals(VALUE1, o22);
            for (Map.Entry<String, String> entry : properties.entrySet()) {
                entry.setValue(entry.getValue() + "x");
            }
            Object o21 = properties.get(KEY1);
            assertEquals(VALUE1 + "x", o21);
    
            baos = new ByteArrayOutputStream();
            properties.save(baos);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                        table.put("c", "b", "a");
                        table.put("a", "a", "d");
                        for (Entry<String, String> entry : entries) {
                          table.put("b", entry.getKey(), entry.getValue());
                        }
                        return table.row("b");
                      }
                    })
                .withFeatures(
                    MapFeature.GENERAL_PURPOSE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top