Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 318 for containsKey (0.06 seconds)

  1. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
              Map<String, String> wrap(HashMap<String, String> map) {
                if (map.containsKey(null)) {
                  throw new NullPointerException();
                }
                return new AbstractMap<String, String>() {
                  @Override
                  public Set<Entry<String, String>> entrySet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    }
                }
    
                for (Dependency dependency : dependencies) {
                    Artifact artifact = createDependencyArtifact(dependency);
                    if (!artifacts.containsKey(artifact.getDependencyConflictId())) {
                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                for (Artifact artifact : artifacts.values()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                        && !cls.getName().equals("org.apache.maven.api.model.InputLocation");
            }
    
            private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                if (!PRIMITIVE_BY_CLASS.containsKey(fieldType)) {
                    PRIMITIVE_BY_CLASS.put(fieldType, fieldType.isPrimitive());
                }
    
                if (PRIMITIVE_BY_CLASS.get(fieldType)) {
                    return false;
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/SecureKeyManager.java

         *
         * @param sessionId session identifier
         * @return true if key exists
         */
        public boolean hasSessionKey(String sessionId) {
            checkNotClosed();
            return sessionKeys.containsKey(sessionId) || (keyStore != null && keyStoreContainsKey(sessionId));
        }
    
        private boolean keyStoreContainsKey(String sessionId) {
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append(form.q);
            if (!form.fields.isEmpty() && form.fields.containsKey(LABEL_FIELD)) {
                final String[] values = form.fields.get(LABEL_FIELD);
                final List<String> labelList = new ArrayList<>();
                if (values != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/AbstractCache.java

       */
      @Override
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
        Map<K, V> result = new LinkedHashMap<>();
        for (Object key : keys) {
          if (!result.containsKey(key)) {
            @SuppressWarnings("unchecked")
            K castKey = (K) key;
            V value = getIfPresent(key);
            if (value != null) {
              result.put(castKey, value);
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.of(three, "three", eleven, "eleven", twenty, "twenty");
        Map<IntegerDiv10, String> copy = ImmutableMap.copyOf(original);
        assertTrue(original.containsKey(twelve));
        assertFalse(copy.containsKey(twelve));
      }
    
      public void testBuilderReverseOrder() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>reverseOrder()
                .put("one", 1)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                        versioning, metadataResult.getRequest().getRepository());
    
                for (String version : versioning.getVersions()) {
                    if (!versionIndex.containsKey(version)) {
                        versionIndex.put(version, repository);
                    }
                }
            }
    
            return versionIndex;
        }
    
        private Versioning readVersions(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            assertWithMessage("roundToDouble(%s, %s)", input, mode)
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
                .that(unnecessaryShouldThrow)
                .isTrue();
            assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

                if (skippedFilesWithReason.containsKey(file)) {
                    //skip all the tests in the file
                    transformRestTests = transformer.transformRestTests(new LinkedList<>(tests),
                        Collections.singletonList(new Skip(skippedFilesWithReason.get(file))));
                } else {
                    if (skippedFilesWithTestAndReason.containsKey(file)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
Back to Top