Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 381 for Randall (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top