Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 369 for addAll (0.08 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
       */
      public static ImmutableLongArray copyOf(Iterable<Long> values) {
        if (values instanceof Collection) {
          return copyOf((Collection<Long>) values);
        }
        return builder().addAll(values).build();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

         * and will be merged, but overlapping ranges will cause an exception when {@link #build()} is
         * called.
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(RangeSet<C> ranges) {
          return addAll(ranges.asRanges());
        }
    
        /**
         * Add all of the specified ranges to this builder. Adjacent ranges are permitted and will be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
       */
      public static ImmutableIntArray copyOf(Iterable<Integer> values) {
        if (values instanceof Collection) {
          return copyOf((Collection<Integer>) values);
        }
        return builder().addAll(values).build();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

    public class WebApiManagerFactory {
    
        protected WebApiManager[] webApiManagers = {};
    
        public void add(final WebApiManager webApiManager) {
            final List<WebApiManager> list = new ArrayList<>();
            Collections.addAll(list, webApiManagers);
            list.add(webApiManager);
            webApiManagers = list.toArray(new WebApiManager[list.size()]);
        }
    
        public WebApiManager get(final HttpServletRequest request) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                      @Override
                      protected Multiset<String> create(String[] elements) {
                        Multiset<String> ms = new NoRemoveMultiset<>();
                        Collections.addAll(ms, elements);
                        return ms;
                      }
                    })
                .named("NoRemoveMultiset")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<E> combine(Builder<E> builder) {
          checkNotNull(builder);
          contents.addAll(builder.contents);
          return this;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

            set.addAll(set1);
            set.addAll(set2);
            return set;
          }
    
          @Override
          @SuppressWarnings({"nullness", "unchecked"}) // see supertype
          public ImmutableSet<@NonNull E> immutableCopy() {
            ImmutableSet.Builder<@NonNull E> builder =
                new ImmutableSet.Builder<@NonNull E>()
                    .addAll((Iterable<@NonNull E>) set1)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
       */
      public static ImmutableDoubleArray copyOf(Iterable<Double> values) {
        if (values instanceof Collection) {
          return copyOf((Collection<Double>) values);
        }
        return builder().addAll(values).build();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

            ImmutableSortedMultiset.<String>naturalOrder().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "b", "b", "c")), multiset);
      }
    
      public void testBuilderAddAllIterator() {
        Iterator<String> iterator = asList("a", "b", "a", "c").iterator();
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder().addAll(iterator).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Queues.java

        if (elements instanceof Collection) {
          return new ArrayDeque<>((Collection<? extends E>) elements);
        }
        ArrayDeque<E> deque = new ArrayDeque<>();
        Iterables.addAll(deque, elements);
        return deque;
      }
    
      // ConcurrentLinkedQueue
    
      /** Creates an empty {@code ConcurrentLinkedQueue}. */
      @J2ktIncompatible
      @GwtIncompatible // ConcurrentLinkedQueue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top