Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 369 for addAll (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      // Needed to stop Eclipse whining
      private void resetWithHole() {
        List<E> container = new ArrayList<>();
        container.addAll(nCopies(a.getCount(), a.getElement()));
        container.addAll(nCopies(c.getCount(), c.getElement()));
        super.resetContainer(getSubjectGenerator().create(container.toArray()));
        sortedMultiset = (SortedMultiset<E>) getMultiset();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

            getAddAllUnsupportedSomePresentMethod());
      }
    
      @Override
      protected Collection<Method> suppressForConcurrentSkipListMap() {
        List<Method> methods = newArrayList();
        methods.addAll(super.suppressForConcurrentSkipListMap());
        methods.add(getContainsEntryWithIncomparableKeyMethod());
        methods.add(getContainsEntryWithIncomparableValueMethod());
        return methods;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.addAll(ConcurrentMapTestSuiteBuilder.TESTERS);
        return testers;
      }
    
      @Override
      NavigableMapTestSuiteBuilder<K, V> subSuiteUsing(TestSortedMapGenerator<K, V> generator) {
        return using(generator);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        }
      }
    
      public static class BuilderAddAllListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          return ImmutableList.<String>builder().addAll(asList(elements)).build();
        }
      }
    
      public static class BuilderReversedListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableSortedSet}, ignoring duplicate
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        checkConflict("absent", absentFeatures, "present", morePresentFeatures, source);
        checkConflict("present", presentFeatures, "absent", moreAbsentFeatures, source);
        presentFeatures.addAll(morePresentFeatures);
        absentFeatures.addAll(moreAbsentFeatures);
        return requirements;
      }
    
      // Used by incorporateRequirements() only
      private static void checkConflict(
          String earlierRequirement,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(
          Collection<? extends E> collection) {
        CompactLinkedHashSet<E> set = createWithExpectedSize(collection.size());
        set.addAll(collection);
        return set;
      }
    
      /**
       * Creates a {@code CompactLinkedHashSet} instance containing the given elements in unspecified
       * order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMultiset.java

        add(element, 1);
        return true;
      }
    
      /**
       * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and
       * {@link #add(Object, int)}. If you override either of these methods, you may wish to override
       * {@link #addAll(Collection)} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                        List<Plugin> pre = predecessors.get(entry.getKey());
                        if (pre != null) {
                            result.addAll(pre);
                        }
                        result.add(entry.getValue());
                    }
                    result.addAll(pending);
    
                    builder.plugins(result);
                }
            }
    
            @Override
            protected Plugin mergePlugin(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                        firstItems.add(item);
                    } else {
                        secondItems.add(item);
                    }
                }
            }
            firstWords.addAll(secondWords);
            firstItems.addAll(secondItems);
            return new SuggestResponse(index, searchResponse.getTook().getMillis(), firstWords, searchResponse.getHits().getTotalHits().value,
                    firstItems);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top