Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,297 for Element3 (0.22 sec)

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

        }
    
        @Override
        public boolean add(@ParametricNullness E element) {
          checkArgument(predicate.apply(element));
          return unfiltered.add(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          for (E element : collection) {
            checkArgument(predicate.apply(element));
          }
          return unfiltered.addAll(collection);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       * have been removed.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       *
       * <p>To cycle over the elements {@code n} times, use the following: {@code
       * Iterables.concat(Collections.nCopies(n, Arrays.asList(elements)))}
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        E[] elements = createSamplesArray();
        E duplicate = elements[(elements.length / 2) - 1];
        elements[(elements.length / 2) + 1] = duplicate;
        return new ArrayWithDuplicate<>(elements, duplicate);
      }
    
      // Helper methods to improve readability of derived classes
    
      protected int getNumElements() {
        return getSubjectGenerator().getCollectionSize().getNumElements();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multisets.java

          return unfiltered.add(element, occurrences);
        }
    
        @Override
        public int remove(@CheckForNull Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/rules/JacocoViolationRule.java

         */
        @Input
        boolean isEnabled();
    
        /**
         * Sets element for the rule.
         *
         * @param element Element
         */
        void setElement(String element);
    
        /**
         * Gets the element for the rule as defined by
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
     * occurrences of an element are removed, after which that element is added to the multiset, the
     * element will appear at the end of the iteration.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        public boolean add(@ParametricNullness E element) {
          checkArgument(predicate.apply(element));
          return unfiltered.add(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          for (E element : collection) {
            checkArgument(predicate.apply(element));
          }
          return unfiltered.addAll(collection);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ConcurrentGroupingQueue.kt

        fun push(element: T) {
            lock.withLock {
                q.addFirst(element)
                if (q.size == 1) {
                    notEmpty.signal()
                }
            }
        }
    
        /**
         * Returns the next group of elements after removing them from the queue.
         *
         * The group contains the most recently pushed element plus all
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            when:
            container.get()
    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'Cannot query the elements of this container as the elements have not been created yet.'
        }
    
        def "cannot get elements from when known action"() {
            given:
            container.add(Stub(SwiftBinary))
            container.whenElementKnown { container.get() }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/HierarchicalElement.java

        HierarchicalElement getParent();
    
        /**
         * Returns the child elements, or the empty set if there are no child elements.
         *
         * @return The child elements, or the empty set if there are no child elements.
         * @since 1.0-milestone-5
         */
        DomainObjectSet<? extends HierarchicalElement> getChildren();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top