Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 485 for foreach (0.06 sec)

  1. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            } else {
                initProcesses.add(process);
            }
        }
    
        public static void doInitProcesses(final Consumer<? super Runnable> action) {
            try {
                initProcesses.forEach(action);
            } finally {
                initProcesses.clear();
            }
        }
    
        public static CachedCipher getCipher(final String cipherName) {
            return getComponent(cipherName);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

          }
    
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return asList().spliterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<K, V>> action) {
            asList().forEach(action);
          }
    
          @Override
          ImmutableList<Entry<K, V>> createAsList() {
            return new ImmutableAsList<Entry<K, V>>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
          for (ListenableFuture<? extends InputT> future : futures) {
            int index = i++;
            if (future.isDone()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. 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);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

       *
       * <pre>{@code
       * try (Stream<String> lines = source.lines()) {
       *   lines.map(...)
       *      .filter(...)
       *      .forEach(...);
       * }
       * }</pre>
       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      @MustBeClosed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final List<T> bufferedList = new ArrayList<>(bulkBufferSize);
            final StringBuilder failureBuf = new StringBuilder(100);
            list.stream().forEach(target -> {
                bufferedList.add(target);
                if (bufferedList.size() >= bulkBufferSize) {
                    final BulkResponse response = doInsertAll(bufferedList, opType);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedHashMultimap.java

              ValueSet.this.remove(toRemove.getValue());
              expectedModCount = modCount;
              toRemove = null;
            }
          };
        }
    
        @Override
        public void forEach(Consumer<? super V> action) {
          checkNotNull(action);
          for (ValueSetLink<K, V> entry = firstEntry;
              entry != ValueSet.this;
              entry = entry.getSuccessorInValueSet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       * calling {@code Iterables.addAll(collection, this)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code
       * stream.forEach(collection::add)}.
       *
       * @param collection the collection to copy elements to
       * @return {@code collection}, for convenience
       * @since 14.0
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        this.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 {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. 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>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top