Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 369 for addAll (0.04 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

      }
    
      @Override
      protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>> getStimulusValues() {
        List<Stimulus<E, ? super ListIterator<E>>> list = new ArrayList<>();
        Helpers.addAll(list, iteratorStimuli());
        Helpers.addAll(list, listIteratorStimuli());
        return list;
      }
    
      @Override
      protected abstract ListIterator<E> newTargetIterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

            Collection<String> versions = new LinkedHashSet<>();
    
            if (buildReactor != null) {
                versions.addAll(buildReactor.findVersions(artifact));
            }
    
            if (ideWorkspace != null) {
                versions.addAll(ideWorkspace.findVersions(artifact));
            }
    
            versions.addAll(userLocalArtifactRepository.findVersions(artifact));
    
            return Collections.unmodifiableList(new ArrayList<>(versions));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertNull(mmHeap.peek());
        assertNull(mmHeap.poll());
      }
    
      public void testRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4, 47, 1, 5, 3, 0));
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(9, mmHeap.size());
        mmHeap.remove(5);
        assertEquals(8, mmHeap.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertNull(mmHeap.peek());
        assertNull(mmHeap.poll());
      }
    
      public void testRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4, 47, 1, 5, 3, 0));
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(9, mmHeap.size());
        mmHeap.remove(5);
        assertEquals(8, mmHeap.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/Stats.java

        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values
       */
      public static Stats of(double... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                }
    
                MavenProject selectedProject = optSelectedProject.get();
    
                selectedProjects.add(selectedProject);
                selectedProjects.addAll(getChildProjects(selectedProject, request));
            }
    
            return selectedProjects;
        }
    
        public Set<MavenProject> getOptionalProjectsBySelectors(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

                  @Override
                  public Collection<String> create(String[] elements) {
                    List<String> unfiltered = newArrayList();
                    unfiltered.add("yyy");
                    Collections.addAll(unfiltered, elements);
                    unfiltered.add("zzz");
                    return Collections2.filter(unfiltered, NOT_YYY_ZZZ);
                  }
                })
            .named("Collections2.filter")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. android/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
    - 22.2K bytes
    - Viewed (0)
Back to top