Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 918 for Clements (0.17 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                    return false;
                  }
                  List<TypeWithDuplicates> elements1 = ImmutableList.copyOf(ms1.elementSet());
                  List<TypeWithDuplicates> elements2 = ImmutableList.copyOf(ms2.elementSet());
                  for (int i = 0; i < ms1.elementSet().size(); i++) {
                    if (!elements1.get(i).fullEquals(elements2.get(i))) {
                      return false;
                    }
                  }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          return addCopies(element, 1);
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableSortedMultiset}.
         *
         * @param elements the elements to add
         * @return this {@code Builder} object
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      /**
       * Inserts the specified element into this priority queue.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Queue#offer})
       * @throws ClassCastException if the specified element cannot be compared with elements currently
       *     in the priority queue according to the priority queue's ordering
       * @throws NullPointerException if the specified element is null
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          for (int i = 0; i < 100; i++) {
            Element element = Element.values()[random.nextInt(range)];
            elements.add(element);
            queue.add(element);
          }
          Iterator<Element> queueIterator = queue.iterator();
          int remaining = queue.size();
          while (queueIterator.hasNext()) {
            Element element = queueIterator.next();
            remaining--;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumMultiset.java

       * Creates a new {@code EnumMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       * @throws IllegalArgumentException if {@code elements} is empty
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumMultiset.java

       * Creates a new {@code EnumMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       * @throws IllegalArgumentException if {@code elements} is empty
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       * elements.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterator<T> cycle(T... elements) {
        return cycle(Lists.newArrayList(elements));
      }
    
      /**
       * Returns an Iterator that walks the specified array, nulling out elements behind it. This can
       * avoid memory leaks when an element is no longer necessary.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/LruHashSet.java

        /**
         * Returns an iterator over the elements in this set. The elements are
         * returned in no particular order.
         *
         * @return an Iterator over the elements in this set.
         * @see ConcurrentModificationException
         */
        @Override
        public Iterator<E> iterator() {
            return map.keySet().iterator();
        }
    
        /**
         * Returns the number of elements in this set (its cardinality).
         *
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * elements FIFO (first-in-first-out). The head of the queue is that element that has been
     * on the queue the longest time. The tail of the queue is that element that has been on
     * the queue the shortest time. New elements are inserted at the tail of the queue, and the queue
     * retrieval operations obtain elements at the head of the queue.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable,
       * followed by {@code elements}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code Stream.concat(thisStream, Stream.of(elements))}.
       *
       * @since 18.0
       */
      public final FluentIterable<E> append(E... elements) {
        return FluentIterable.concat(getDelegate(), Arrays.asList(elements));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top