Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 605 for foreach (0.26 seconds)

  1. android/guava/src/com/google/common/collect/CollectCollectors.java

        EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) {
          if (this.map == null) {
            return other;
          } else if (other.map == null) {
            return this;
          } else {
            other.map.forEach(this::put);
            return this;
          }
        }
    
        ImmutableMap<K, V> toImmutableMap() {
          return (map == null) ? ImmutableMap.of() : ImmutableEnumMap.asImmutable(map);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CollectCollectors.java

        EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) {
          if (this.map == null) {
            return other;
          } else if (other.map == null) {
            return this;
          } else {
            other.map.forEach(this::put);
            return this;
          }
        }
    
        ImmutableMap<K, V> toImmutableMap() {
          return (map == null) ? ImmutableMap.of() : ImmutableEnumMap.asImmutable(map);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. README.md

    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    
    // Resource traversal for processing multiple files
    ResourceTraversalUtil.forEach("META-INF", (resource, is) -> {
        // Process each resource in the META-INF directory
        System.out.println("Processing: " + resource);
    });
    ```
    
    ### Text Processing and JSON
    ```java
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. src/main/webapp/js/admin/adminlte.min.js.map

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 132.4K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                    final Map<String, String> blobMetadata = blob.getMetadata();
                    if (blobMetadata != null) {
                        blobMetadata.forEach(responseData::addMetaData);
                    }
                    if (blob.getSize() < maxCachedContentSize) {
                        try (InputStream contentStream = new BufferedInputStream(Channels.newInputStream(blob.reader()))) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            fesenClient.addOnConnectListener(listener);
    
            // Manually invoke listeners as if connect() succeeded
            fesenClient.onConnectListenerList.forEach(l -> {
                try {
                    l.onConnect();
                } catch (Exception e) {
                    fail("Listener should not throw: " + e.getMessage());
                }
            });
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                        }
                        final Map<String, String> ntlmParams = config.getNtlmParameters();
                        if (ntlmParams != null) {
                            ntlmParams.forEach(result::setProperty);
                        }
                    }
                }
            } else if (value instanceof Hc5Authentication[]) {
                for (final Hc5Authentication auth : (Hc5Authentication[]) value) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            ).stream()
                .map(version -> new UnreleasedVersionInfo(version, getBranchFor(version), getGradleProjectPathFor(version)))
                .collect(Collectors.toList());
    
            collect.forEach(consumer::accept);
        }
    
        private String getGradleProjectPathFor(Version version) {
            // We have Gradle projects set up to check out and build unreleased versions based on the our branching
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                    get(c -> c.admin().cluster().prepareHealth(indices).setWaitForYellowStatus().execute());
            if (!healthResponse.isTimedOut()) {
                onConnectListenerList.forEach(l -> {
                    try {
                        l.onConnect();
                    } catch (final Exception e) {
                        logger.warn("Failed to invoke onConnect listener: listener={}", l.getClass().getName(), e);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 02:01:26 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    dataMap.put(fessConfig.getIndexFieldUrl(), url);
                    final List<String> roleTypeList = new ArrayList<>();
                    stream(crawlingConfig.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p)));
                    if (ComponentUtil.getProtocolHelper().isFilePathProtocol(url)) {
                        if (url.endsWith("/")) {
                            // directory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
Back to Top