Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 255 for addUrl (0.04 sec)

  1. android/guava/src/com/google/common/collect/ImmutableList.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<E> combine(Builder<E> other) {
          addAll(other.contents, other.size);
          return this;
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = new ArrayList<>(elementsInSet);
          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    }
    
                    // the regular values should be visible after filtering
                    List<E> allEntries = new ArrayList<>();
                    allEntries.addAll(extremeValues);
                    allEntries.addAll(normalValues);
                    SortedMultiset<E> multiset =
                        (SortedMultiset<E>) delegate.create(allEntries.toArray());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java

        EnumMultiset<E> multiset = new EnumMultiset<>(map);
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) {
        EnumMultiset<E> result = create(type);
        Iterables.addAll(result, elements);
        return result;
      }
    
      /** Creates an empty {@code EnumMultiset}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>This is equivalent to calling {@link #add} on each of the ranges in {@code other} in turn.
       *
       * @throws UnsupportedOperationException if this range set does not support the {@code addAll}
       *     operation
       */
      void addAll(RangeSet<C> other);
    
      /**
       * Adds all of the specified ranges to this range set (optional operation). After this operation,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingSet.java

     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Lists.java

        ArrayList<E> list = new ArrayList<>(capacity);
        Collections.addAll(list, elements);
        return list;
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list then calling {@link Iterables#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractRangeSet.java

        remove(Range.<C>all());
      }
    
      @Override
      public boolean enclosesAll(RangeSet<C> other) {
        return enclosesAll(other.asRanges());
      }
    
      @Override
      public void addAll(RangeSet<C> other) {
        addAll(other.asRanges());
      }
    
      @Override
      public void removeAll(RangeSet<C> other) {
        removeAll(other.asRanges());
      }
    
      @Override
      public boolean intersects(Range<C> otherRange) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsAll(collection);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.addAll(collection);
        }
    
        @Override
        public boolean retainAll(Collection<?> collection) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            }
            builder.addAll(list);
          }
        },
        ADD_ITERABLE {
          @Override
          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            List<Integer> list = new ArrayList<>();
            int num = random.nextInt(10);
            for (int i = 0; i < num; i++) {
              list.add(counter.getAndIncrement());
            }
            builder.addAll(iterable(list));
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top