Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 350 for getKeys (0.06 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(CountDownLatch latch) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(CountDownLatch latch) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get and set key")
            void testKey() {
                assertNull(referralData.getKey());
                referralData.setKey("cache-key-123");
                assertEquals("cache-key-123", referralData.getKey());
            }
    
            @Test
            @DisplayName("Should get server")
            void testGetServer() {
                assertNull(referralData.getServer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @CanIgnoreReturnValue
      private V putIfAbsent(Entry<K, V> entry) {
        return getMap().putIfAbsent(entry.getKey(), entry.getValue());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPut_nullValueSupported() {
        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy);
    
        ArtifactRepositoryLayout getLayout();
    
        void setLayout(ArtifactRepositoryLayout layout);
    
        String getKey();
    
        @Deprecated
        boolean isUniqueVersion();
    
        @Deprecated
        boolean isBlacklisted();
    
        @Deprecated
        void setBlacklisted(boolean blackListed);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

          ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      private static final class ImmutableSetMultimapCopyOfEntriesGenerator
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringMapGenerator() {
                  @Override
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return singletonMap(entries[0].getKey(), entries[0].getValue());
                  }
                })
            .named("singletonMap")
            .withFeatures(
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                        for (Object object : elements) {
                          Entry<Class, Impl> entry = (Entry<Class, Impl>) object;
                          map.putInstance(entry.getKey(), entry.getValue());
                        }
                        return (Map) map;
                      }
                    })
                .named("MutableClassToInstanceMap")
                .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

         */
        public void flushPluginMap() {
        }
    
        /**
         * @return a Map of plugins field with {@code Plugins#getKey()} as key
         * @see Plugin#getKey()
         */
        public Map<String, Plugin> getPluginsAsMap() {
            return getPlugins().stream().collect(Collectors.toMap(plugin -> plugin.getKey(), plugin -> plugin));
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
Back to top