Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 291 for addAll (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(nestingDepth, Iterators.size(iterator));
      }
    
      public void testAddAllWithEmptyIterator() {
        List<String> alreadyThere = Lists.newArrayList("already", "there");
    
        boolean changed = Iterators.addAll(alreadyThere, Iterators.<String>emptyIterator());
        assertThat(alreadyThere).containsExactly("already", "there").inOrder();
        assertFalse(changed);
      }
    
      public void testAddAllToList() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

        return Iterables.<E>toArray(getDelegate(), type);
      }
    
      /**
       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code
       * stream.forEach(collection::add)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

        return Iterables.<E>toArray(getDelegate(), type);
      }
    
      /**
       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code
       * stream.forEach(collection::add)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

       */
      @CanIgnoreReturnValue
      public static <T extends @Nullable Object> boolean addAll(
          Collection<T> addTo, Iterable<? extends T> elementsToAdd) {
        if (elementsToAdd instanceof Collection) {
          Collection<? extends T> c = (Collection<? extends T>) elementsToAdd;
          return addTo.addAll(c);
        }
        return Iterators.addAll(addTo, checkNotNull(elementsToAdd).iterator());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Table.java

      /**
       * Returns a set of all row key / column key / value triplets. Changes to the returned set will
       * update the underlying table, and vice versa. The cell set does not support the {@code add} or
       * {@code addAll} methods.
       *
       * @return set of table cells consisting of row key / column key / value triplets
       */
      Set<Cell<R, C, V>> cellSet();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

            put(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> builder) {
          entries.addAll(builder.entries);
          return this;
        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                        } catch (final Exception e) {
                            throw new OpenSearchAccessException("Failed to delete " + urlQueueList, e);
                        }
                    }
    
                    waitingQueue.addAll(urlQueueList);
    
                    urlQueue = waitingQueue.poll();
                    if (urlQueue == null) {
                        return null;
                    }
                }
    
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to access {}", fessConfig.getStorageEndpoint(), e);
                }
            }
            list.addAll(fileList);
            return list;
        }
    
        /**
         * Extracts the file name from a full object path.
         *
         * @param objectName the full object path
         * @return the file name portion of the path
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                        logger.debug("Deleted {} old docs", deletedDocCount);
                    }
                    final BulkResponse response =
                            searchEngineClient.addAll(fessConfig.getIndexDocumentUpdateIndex(), docList, (doc, builder) -> {
                                final String configId = (String) doc.get(fessConfig.getIndexFieldConfigId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            return getEntity(form).map(entity -> {
                copyMapToBean(form.attributes, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                copyBeanToBean(form, entity, op -> op.exclude(ArrayUtils.addAll(Constants.COMMON_CONVERSION_RULE, "password")));
                if (form.crudMode.intValue() == CrudMode.CREATE || StringUtil.isNotBlank(form.password)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top