Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 252 for containsKey (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            assertUniqueKey(key);
            return cache.computeIfAbsent(key, k -> new CacheRecord(exception));
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate artifact resolution result for project " + key);
            }
        }
    
        @Override
        public void flush() {
            cache.clear();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            if (StringUtil.isEmpty(template)) {
                return StringUtil.EMPTY;
            }
    
            if (paramMap.containsKey(template)) {
                return paramMap.get(template);
            }
    
            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashMap.java

          }
          next = CompactHashing.getNext(entry, mask);
        } while (next != UNSET);
        return -1;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
        return (delegate != null) ? delegate.containsKey(key) : indexOf(key) != -1;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      private static <K, V> void putEntryWithChecks(
          SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
        K key = checkNotNull(entry.getKey());
        V value = checkNotNull(entry.getValue());
        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/MockWitnessService.java

         *
         * @param registrationId the registration ID
         * @return true if registration exists
         */
        public boolean hasRegistration(String registrationId) {
            return registrations.containsKey(registrationId);
        }
    
        /**
         * Simulate sending a witness notification
         *
         * @param eventType the event type
         * @param resourceName the resource name
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          this.backingMap = backingMap;
        }
    
        @Override
        protected NavigableMap<K, V> delegate() {
          return backingMap;
        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. 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;
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top