Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for elemLen (0.03 sec)

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

        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          super.add(element);
          return this;
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    .reduce(false, Boolean::logicalOr);
        }
    
        private static class BuildContainer {
            final Element element;
            final String sectionName;
    
            BuildContainer(Element element, String sectionName) {
                this.element = element;
                this.sectionName = sectionName;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

            return new String(buf);
        }
    
        /**
         * Converts an {@link Element} to a string.
         *
         * @param element
         *            The element. Must not be {@literal null}.
         * @return The converted string.
         */
        public static String toString(final Element element) {
            assertArgumentNotNull("element", element);
    
            final StringBuilder buf = new StringBuilder(1000);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            Element root = editor.root();
            if (root == null) {
                return;
            }
    
            // Convert modules element to subprojects
            Element modulesElement = root.child(MODULES).orElse(null);
            if (modulesElement != null) {
                // domtrip makes this much simpler - just change the element name
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Element root = pomDocument.root();
    
            // Check if this POM has a parent
            Element parentElement = root.child(PARENT).orElse(null);
            if (parentElement == null) {
                return false;
            }
    
            // Apply full inference (parent element trimming based on relativePath)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/LruHashSet.java

        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
         * Adds the specified element to this set if it is not already present.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertTrue(iterator.hasNext(), "Should have first element");
            SmbResource first = iterator.next();
            assertNotNull(first, "First element should not be null");
            assertEquals("file1.txt", first.getName());
    
            assertTrue(iterator.hasNext(), "Should have second element");
            SmbResource second = iterator.next();
            assertNotNull(second, "Second element should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

          }
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          checkNotNull(element);
          ensureRoomFor(1);
          contents[size++] = element;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

            // Utility class
        }
    
        /**
         * Inserts a new child element to the given parent element with proper Maven POM ordering.
         *
         * @param name the name of the new element
         * @param parent the parent element
         * @return the new element
         *
         */
        public static Element insertNewElement(String name, Element parent) {
            PomEditor editor = new PomEditor(parent.document());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

          return unfiltered.add(element, occurrences);
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
Back to top