Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 560 for elemLen (0.04 sec)

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

      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertTrue(
            "setCount() with the correct expected present count should return true",
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private boolean setCount(E element, int count) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         */
        protected static List<String> toStringList(final CharSequence[] array) {
            final List<String> list = newArrayList(array.length);
            for (final CharSequence element : array) {
                list.add(element.toString());
            }
            return list;
        }
    
        /**
         * Returns whether the property is a target property.
         *
         * @param name
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                    Map<Object, Object> context = Collections.emptyMap();
    
                    for (Plugin element : src) {
                        Object key = getPluginKey(element);
                        managedPlugins.put(key, element);
                    }
    
                    for (Plugin element : tgt) {
                        Object key = getPluginKey(element);
                        Plugin managedPlugin = managedPlugins.get(key);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

      static int indexOfImpl(List<?> list, @Nullable Object element) {
        if (list instanceof RandomAccess) {
          return indexOfRandomAccess(list, element);
        } else {
          ListIterator<?> listIterator = list.listIterator();
          while (listIterator.hasNext()) {
            if (Objects.equals(element, listIterator.next())) {
              return listIterator.previousIndex();
            }
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  5. 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.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify the structure
                Editor editor = new Editor(document);
                Element root = editor.root();
                Element buildElement = root.child("build").orElse(null);
                assertNotNull(buildElement, "Build element should exist");
    
                List<Element> buildChildren = buildElement.children().toList();
    
                // Find the indices of pluginManagement and plugins
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * Returns an {@link Optional} containing the first element in this fluent iterable. If the
       * iterable is empty, {@code Optional.absent()} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link
       * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}.
       *
       * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

          for (Object o : extras) {
            sb.append(", ").append(o);
          }
          if (overflow) {
            sb.append(", ...");
          }
          sb.append('>');
          throw new IllegalArgumentException(sb.toString());
        }
    
        void add(Object o) {
          checkNotNull(o);
          if (element == null) {
            this.element = o;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SortedLists.java

        /**
         * Return the index of the next lower element in the list, or {@code -1} if there is no such
         * element.
         */
        NEXT_LOWER {
          @Override
          int resultIndex(int higherIndex) {
            return higherIndex - 1;
          }
        },
        /**
         * Return the index of the next higher element in the list, or {@code list.size()} if there is
         * no such element.
         */
        NEXT_HIGHER {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterables.java

       * stream.filter(element::equals).count()}. If {@code element} might be null, use {@code
       * stream.filter(Predicate.isEqual(element)).count()} instead.
       *
       * @see java.util.Collections#frequency(Collection, Object) Collections.frequency(Collection,
       *     Object)
       */
      public static int frequency(Iterable<?> iterable, @Nullable Object element) {
        if ((iterable instanceof Multiset)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
Back to top