Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 402 for forEach (0.07 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            },
            Spliterator.SIZED,
            size());
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        map.forEach(
            (key, valueCollection) -> valueCollection.forEach(value -> action.accept(key, value)));
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap(map);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/CharSource.java

       *
       * {@snippet :
       * try (Stream<String> lines = source.lines()) {
       *   lines.map(...)
       *       .filter(...)
       *       .forEach(...);
       * }
       * }
       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @MustBeClosed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/LinkedListMultimap.java

            return size;
          }
    
          @Override
          public ListIterator<Entry<K, V>> listIterator(int index) {
            return new NodeIterator(index);
          }
    
          @Override
          public void forEach(Consumer<? super Entry<K, V>> action) {
            checkNotNull(action);
            for (Node<K, V> node = head; node != null; node = node.next) {
              action.accept(node);
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        withLock {
          if (streams.isNotEmpty()) {
            streamsToClose = streams.values.toTypedArray()
            streams.clear()
          }
        }
    
        streamsToClose?.forEach { stream ->
          ignoreIoExceptions {
            stream.close(streamCode, cause)
          }
        }
    
        // Close the writer to release its resources (such as deflaters).
        ignoreIoExceptions {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
     * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a
     * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

                        || m.getName().equals("casValue")
                        || m.getName().equals("casListeners")
                        || m.getName().equals("gasListeners"))
            .forEach(ignoredMembers::add);
      }
    
      /**
       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(traverser.isExistClass(TestCase.class.getName()), is(not(true)));
    
            final Set<String> set = new HashSet<String>();
            traverser.forEach((ClassHandler) (packageName, shortClassName) -> set.add(ClassUtil.concatName(packageName, shortClassName)));
            assertThat(set.size() > 0, is(true));
            assertThat(set.contains(DummyTest.class.getName()), is(true));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            final String path = ResourceUtil.getResourcePath(getClass());
            final int pos = path.lastIndexOf("/");
            final String baseDirectory = path.substring(0, pos);
            ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multimaps.java

          if (result == null) {
            entries = result = unmodifiableEntries(delegate.entries());
          }
          return result;
        }
    
        @Override
        public void forEach(BiConsumer<? super K, ? super V> consumer) {
          delegate.forEach(checkNotNull(consumer));
        }
    
        @Override
        public Collection<V> get(@ParametricNullness K key) {
          return unmodifiableValueCollection(delegate.get(key));
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            if (highlightQueries != null) {
                final StringBuilder buf = new StringBuilder(100);
                highlightQueries.stream().forEach(q -> {
                    buf.append("&hq=").append(LaFunctions.u(q));
                });
                data.setAppendHighlightParams(buf.toString());
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
Back to Top