Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,297 for Element3 (0.86 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         *
         * @param elements the elements to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          super.add(elements);
          return this;
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultiset.java

          contents.put(element, occurrences + contents.get(element));
          return this;
        }
    
        /**
         * Adds or removes the necessary occurrences of an element such that the element attains the
         * desired count.
         *
         * @param element the element to add or remove occurrences of
         * @param count the desired count of the element in this multiset
         * @return this {@code Builder} object
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSet.java

            others.length <= Integer.MAX_VALUE - 6, "the total number of elements must fit in an int");
        final int paramCount = 6;
        Object[] elements = new Object[paramCount + others.length];
        elements[0] = e1;
        elements[1] = e2;
        elements[2] = e3;
        elements[3] = e4;
        elements[4] = e5;
        elements[5] = e6;
        System.arraycopy(others, 0, elements, paramCount, others.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicatorTest.groovy

        }
    
        def "handles calculated name matches existing element name"() {
            given:
            element("root") {
                element("root-foo-bar") {}
                element("foo-bar") {}
                element("foo") {
                    element("bar") {}
                }
                element("baz") {
                    element("bar") {}
                }
            }
    
            when:
            deduplicateNames()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/constants/ConstantsTreeVisitor.java

    import com.sun.source.util.TreePathScanner;
    import com.sun.source.util.Trees;
    
    import javax.lang.model.element.Element;
    import javax.lang.model.element.Modifier;
    import javax.lang.model.element.PackageElement;
    import javax.lang.model.element.TypeElement;
    import javax.lang.model.element.VariableElement;
    import javax.lang.model.util.Elements;
    import java.util.Set;
    
    import static com.sun.source.tree.Tree.Kind.METHOD_INVOCATION;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

       *
       * @param elements the collection of elements to be checked for containment in this multiset
       * @return {@code true} if this multiset contains at least one occurrence of each element
       *     contained in {@code elements}
       * @throws NullPointerException if {@code elements} is null
       */
      @Override
      boolean containsAll(Collection<?> elements);
    
      /**
       * {@inheritDoc}
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

        // We special-case for 0 or 1 elements, but going further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
          return new ImmutableList.Builder<E>().add(first).addAll(elements).build();
        }
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. src/container/ring/ring.go

    // If r and s point to the same ring, linking
    // them removes the elements between r and s from the ring.
    // The removed elements form a subring and the result is a
    // reference to that subring (if no elements were removed,
    // the result is still the original value for r.Next(),
    // and not nil).
    //
    // If r and s point to different rings, linking
    // them creates a single ring with the elements of s inserted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. 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.5K bytes
    - Viewed (0)
Back to top