Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 369 for addAll (0.17 sec)

  1. guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Long> ALL_LONG_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Long> longValues = ImmutableSet.builder();
        // First add all the integer candidate values.
        longValues.addAll(Iterables.transform(POSITIVE_INTEGER_CANDIDATES, TO_LONG));
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 31 and 63).
        longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Long> ALL_LONG_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Long> longValues = ImmutableSet.builder();
        // First add all the integer candidate values.
        longValues.addAll(Iterables.transform(POSITIVE_INTEGER_CANDIDATES, TO_LONG));
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 31 and 63).
        longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptySet() {
        assertFalse(getMultiset().addAll(Collections.<E>emptySet()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptyMultiset() {
        assertFalse(getMultiset().addAll(getSubjectGenerator().create()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractRangeSet.java

        for (Range<C> range : ranges) {
          if (!encloses(range)) {
            return false;
          }
        }
        return true;
      }
    
      @Override
      public void addAll(RangeSet<C> other) {
        addAll(other.asRanges());
      }
    
      @Override
      public void addAll(Iterable<Range<C>> ranges) {
        for (Range<C> range : ranges) {
          add(range);
        }
      }
    
      @Override
      public void removeAll(RangeSet<C> other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

          throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
        }
    
        @Override
        public boolean addAll(Collection<? extends V> collection) {
          addAll(0, collection);
          return true;
        }
    
        @CanIgnoreReturnValue
        @Override
        public boolean addAll(int index, Collection<? extends V> elements) {
          checkNotNull(elements);
          checkPositionIndex(index, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                Set<MavenProject> selectedProjects = new HashSet<>(requiredSelectors.size() + optionalSelectors.size());
                selectedProjects.addAll(
                        projectSelector.getRequiredProjectsBySelectors(request, allSortedProjects, requiredSelectors));
                selectedProjects.addAll(
                        projectSelector.getOptionalProjectsBySelectors(request, allSortedProjects, optionalSelectors));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            }
            builder.addAll(iterable(list));
          }
        },
        ADD_STREAM {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[RANDOM.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(stream(array));
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                return newKinds;
            }
            if (newKinds == null) {
                return kinds;
            }
    
            final List<Kind> list = new ArrayList<>(kinds.length + newKinds.length);
            list.addAll(Arrays.asList(kinds));
            for (final Kind kind : newKinds) {
                if (!list.contains(kind)) {
                    list.add(kind);
                }
            }
            return list.toArray(new Kind[list.size()]);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top