Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 942 for element (0.16 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. common/config/sass-lint.yml

      no-mergeable-selectors: 2
      no-misspelled-properties: 2
      no-qualifying-elements: 0
      no-trailing-whitespace: 2
      no-trailing-zero: 2
      no-transition-all: 0
      no-url-domains: 2
      no-url-protocols: 2
      no-warn: 2
      one-declaration-per-line: 2
      placeholder-in-extend: 2
      placeholder-name-format: 2
      property-sort-order: 0
      property-units: 2
      pseudo-element: 2
      quotes:
        - 2
        -
          style: double
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 11 23:32:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyTableRenderer.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class PropertyTableRenderer {
        public void renderTo(Iterable<PropertyDoc> properties, Element parent) {
            Document document = parent.getOwnerDocument();
    
            // <thead>
            //   <tr>
            //     <td>Property</td>
            //     <td>Description</td>
            //   </tr>
            // </thead>
            Element thead = document.createElement("thead");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        Count frequency = backingMap.get(element);
        int oldCount;
        if (frequency == null) {
          oldCount = 0;
          backingMap.put(element, new Count(occurrences));
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            final Object array = Array.newInstance(toType.getRawType(), collection.size());
    
            int i = 0;
            for (final Object element : collection) {
                Array.set(array, i++, element);
            }
    
            return array;
        }
    
        /**
         * Parses a sequence of XML elements and converts them to the appropriate bean type.
         *
         * @param parser The XML parser
         * @return Converted bean instance
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

                }
            }
    
            warningsRenderer.renderTo(propertyDoc, "property", section);
    
            for (Element element : propertyDoc.getComment()) {
                section.appendChild(document.importNode(element, true));
            }
    
            if (!propertyDoc.getAdditionalValues().isEmpty()) {
                Element segmentedlist = document.createElement("segmentedlist");
                section.appendChild(segmentedlist);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
       * set is serializable.
       *
       * @param elements the elements that the set should contain
       * @return a new thread-safe set containing those elements (minus duplicates)
       * @throws NullPointerException if {@code elements} or any of its contents is null
       * @since 15.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
                        if (existing != null) {
                            element = mergePlugin(element, existing, sourceDominant, context);
    
                            master.put(key, element);
    
                            if (!pending.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * UnsupportedOperationException."
       */
      abstract void setCountNoCheckReturnValue(E element, int count);
    
      private void assertSetCountIncreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to increase an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top