Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 207 for containsKey (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testMultimapReads() {
        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
        assertFalse(multimap.containsKey("cat"));
        assertTrue(multimap.containsValue(1));
        assertFalse(multimap.containsValue(5));
        assertTrue(multimap.containsEntry("foo", 1));
        assertFalse(multimap.containsEntry("cat", 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. api/maven-api-metadata/src/main/mdo/metadata.mdo

                                    {
                                        String key = getSnapshotVersionKey( sv );
                                        if ( !versions.containsKey( key ) )
                                        {
                                            versions.put( key, sv );
                                        }
                                    }
                                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Primitives.java

       * Integer}.
       *
       * @see Class#isPrimitive
       */
      public static boolean isWrapperType(Class<?> type) {
        return WRAPPER_TO_PRIMITIVE_TYPE.containsKey(checkNotNull(type));
      }
    
      /**
       * Returns the corresponding wrapper type of {@code type} if it is a primitive type; otherwise
       * returns {@code type} itself. Idempotent.
       *
       * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        for (int i = 0; i < 11; i++) {
          assertFalse(cache.asMap().containsKey(KEY_PREFIX + i));
        }
        assertEquals(11, removalListener.getCount());
    
        for (int i = 0; i < 10; i++) {
          assertFalse(cache.asMap().containsKey(KEY_PREFIX + i));
          loader.reset();
          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testMultimapReads() {
        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
        assertFalse(multimap.containsKey("cat"));
        assertTrue(multimap.containsValue(1));
        assertFalse(multimap.containsValue(5));
        assertTrue(multimap.containsEntry("foo", 1));
        assertFalse(multimap.containsEntry("cat", 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
                if (componentMap.containsKey(clazz.getCanonicalName())) {
                    return (T) componentMap.get(clazz.getCanonicalName());
                }
                throw e;
            }
        }
    
        /**
         * Gets a component by its name.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            Plugin testPlugin = null;
    
            for (Plugin plugin : plugins) {
                String pluginArtifactId = plugin.getArtifactId();
    
                assertTrue(validPluginCounts.containsKey(pluginArtifactId), "Illegal plugin found: " + pluginArtifactId);
    
                if (pluginArtifactId.equals(testPluginArtifactId)) {
                    testPlugin = plugin;
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

        AsMapOfRanges(Iterable<RangeMapEntry<K, V>> entryIterable) {
          this.entryIterable = (Iterable) entryIterable;
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable V get(@Nullable Object key) {
          if (key instanceof Range) {
            Range<?> range = (Range<?>) key;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                for (ArtifactRepository repo : requestRepositories) {
                    if (!repos.containsKey(repo.getId())) {
                        repos.put(repo.getId(), repo);
                    }
                }
    
                for (ArtifactRepository repo : pomRepositories) {
                    if (!repos.containsKey(repo.getId())) {
                        repos.put(repo.getId(), repo);
                    }
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbException.java

        }
    
        static int getStatusByCode(final int errcode) {
            int statusCode;
            if ((errcode & 0xC0000000) != 0) {
                statusCode = errcode;
            } else if (dosErrorCodeStatuses.containsKey(errcode)) {
                statusCode = dosErrorCodeStatuses.get(errcode);
            } else {
                statusCode = NT_STATUS_UNSUCCESSFUL;
            }
            return statusCode;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top