Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 318 for containsKey (0.41 seconds)

  1. api/maven-api-metadata/src/main/mdo/metadata.mdo

                                    {
                                        String key = getSnapshotVersionKey( sv );
                                        if ( !versions.containsKey( key ) )
                                        {
                                            versions.put( key, sv );
                                        }
                                    }
                                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed May 15 17:32:27 GMT 2024
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

         * @param key The key to check
         * @return true if the key exists and its value is not null
         */
        public static boolean hasValue(final Map<String, Object> map, final String key) {
            return map.containsKey(key) && map.get(key) != null;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         *
         * @param directoryPath directory path
         * @param leaseKey lease key
         */
        public void startWatching(String directoryPath, Smb2LeaseKey leaseKey) {
            if (activeWatchers.containsKey(directoryPath)) {
                return; // Already watching
            }
    
            try {
                SmbFile directory = new SmbFile(directoryPath, leaseManager.getContext());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                matchedLabelSet.stream().forEach(newLabelSet::add);
                dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()]));
            }
    
            if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) {
                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
            // below when we iterate on child nodes -- will that suffice?
            if (managedVersions.containsKey(key)) {
                manageArtifact(node, managedVersions, listeners);
            }
    
            List<ResolutionNode> previousNodes = resolvedArtifacts.get(key);
    
            if (previousNodes != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         */
        public boolean hasChild(String name) {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return children.containsKey(name);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Check if cache entry is expired
         *
         * @return true if expired
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

                  parameterTypes[0].getName(),
                  Primitives.wrap(parameterTypes[0]).getSimpleName());
    
              MethodIdentifier ident = new MethodIdentifier(method);
              if (!identifiers.containsKey(ident)) {
                identifiers.put(ident, method);
              }
            }
          }
        }
        return ImmutableList.copyOf(identifiers.values());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. 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.6K bytes
    - Click Count (0)
  9. 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 Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  10. docs/smb3-features/04-directory-leasing-design.md

            }
        }
        
        public boolean hasChild(String name) {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return children.containsKey(name);
            } finally {
                lock.readLock().unlock();
            }
        }
        
        public boolean isExpired() {
            return System.currentTimeMillis() - lastUpdateTime > maxAge;
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
Back to Top