Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 369 for addAll (0.23 sec)

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

          @Override
          protected Multiset<String> create(String[] elements) {
            Multiset<String> multiset = LinkedHashMultiset.create();
            Collections.addAll(multiset, elements);
            multiset.addAll(ELEMENTS_TO_FILTER_OUT);
            return Multisets.filter(multiset, PREDICATE);
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutAllTester.java

        for (K k : sampleKeys()) {
          resetContainer();
    
          List<V> expectedValues = copyToList(multimap().get(k));
    
          assertTrue(multimap().putAll(k, values));
          expectedValues.addAll(values);
    
          assertGet(k, expectedValues);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java

        for (K k : sampleKeys()) {
          resetContainer();
    
          Set<V> expectedValues = copyToSet(multimap().get(k));
    
          multimap().putAll(k, valuesToPut);
          expectedValues.addAll(valuesToPut);
    
          assertGet(k, expectedValues);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) {
        int size = remaining.length + 6;
        List<E> all = Lists.newArrayListWithCapacity(size);
        Collections.addAll(all, e1, e2, e3, e4, e5, e6);
        Collections.addAll(all, remaining);
        return copyOf(Ordering.natural(), all);
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
                this.problems.addAll(problems);
            }
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

                duplicateHostList = new ArrayList<>();
            }
            final DuplicateHostService duplicateHostService = ComponentUtil.getComponent(DuplicateHostService.class);
            duplicateHostList.addAll(duplicateHostService.getDuplicateHostList());
        }
    
        public void setDuplicateHostList(final List<DuplicateHost> duplicateHostList) {
            this.duplicateHostList = duplicateHostList;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

          }
        },
        BUILDER_ADD_ALL_COLLECTION {
          @Override
          public ImmutableMultiset<Object> create(List<?> keys) {
            ImmutableMultiset.Builder<Object> builder = ImmutableMultiset.builder();
            builder.addAll(keys);
            return builder.build();
          }
        };
    
        @CanIgnoreReturnValue
        @Override
        public abstract ImmutableMultiset<Object> create(List<?> keys);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                return pair;
            }).forEach(additionalDefaultList::add));
        }
    
        public void setNotAnalyzedFields(final String[] fields) {
            notAnalyzedFieldSet = new HashSet<>();
            Collections.addAll(notAnalyzedFieldSet, fields);
        }
    
        protected boolean isSortField(final String field) {
            for (final String f : sortFields) {
                if (f.equals(field)) {
                    return true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *
         * @param <T>
         *            配列の要素の型
         * @param a
         *            配列1
         * @param b
         *            配列2
         * @return 配列が連結された結果の配列
         */
        public static <T> T[] addAll(final T[] a, final T[] b) {
            if (a == null) {
                return b;
            }
            if (b == null) {
                return a;
            }
            if (a.length == 0) {
                return b;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top