Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 924 for Element (0.09 sec)

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

       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
       *     {@link Collection} types
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multiset.java

       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
       *     {@link Collection} types
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/bucket-extensions.kt

    import kotlin.math.min
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook.model
    
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class ExtraAttributeDoc {
        final Element titleCell
        final Element valueCell
    
        ExtraAttributeDoc(Element titleCell, Element valueCell) {
            this.titleCell = titleCell
            this.valueCell = valueCell
        }
    
        @Override
        String toString() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

          @Override
          protected Multiset<String> create(String[] elements) {
            Multiset<String> multiset1 = LinkedHashMultiset.create();
            Multiset<String> multiset2 = LinkedHashMultiset.create();
            for (int i = 0; i < elements.length; i++) {
              String element = elements[i];
              if (multiset1.contains(element) || multiset2.contains(element)) {
                // add to both; the one already containing it will have more
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

        }
    
        boolean isMultiValued() {
            return multiValued
        }
    
        TypeMetaData getType() {
            return type
        }
    
        Element getDescription() {
            return blockMethod.description;
        }
    
        List<Element> getComment() {
            return blockMethod.comment
        }
    
        boolean isDeprecated() {
            return blockProperty.deprecated || blockMethod.deprecated
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. android/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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

      public void testHashCode() {
        int expectedHashCode = 1;
        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top