Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 938 for _element (0.2 sec)

  1. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

            double partition = array[from + 1]; // Choose partitioning element.
            while (true) {
              // Skip the elements smaller than the partition.
              do {
                low++;
              } while (array[low] < partition);
    
              // Skip the elements larger than the partition.
              do {
                high--;
              } while (array[high] > partition);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      @JsMethod(name = "of")
      static <E> ImmutableList<E> jsOf(E... elements) {
        return copyOf(elements);
      }
    
      public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
        checkNotNull(elements); // for GWT
        return (elements instanceof Collection)
            ? copyOf((Collection<? extends E>) elements)
            : copyOf(elements.iterator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        multimap.put(2, "foo");
        for (String element : elements) {
          multimap.put(3, element);
        }
      }
    
      static void populateMultimapForKeySet(Multimap<String, Integer> multimap, String[] elements) {
        for (String element : elements) {
          multimap.put(element, 2);
          multimap.put(element, 3);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashMultiset.java

      /**
       * Creates a new {@code HashMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs/fr/docs/python-types.md

    Ce qui signifie : "la variable `items` est une `list`, et chacun de ses éléments a pour type `str`.
    
    En faisant cela, votre éditeur pourra vous aider, même pendant que vous traitez des éléments de la liste.
    
    <img src="/img/python-types/image05.png">
    
    Sans types, c'est presque impossible à réaliser.
    
    Vous remarquerez que la variable `item` n'est qu'un des éléments de la list `items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        private void wrapH2InSectionTopic(Document document) {
            Element heading = document.body().select("h2").first();
    
            List<Element> inSection = new ArrayList<>();
            inSection.add(heading);
    
            Element next = heading.nextElementSibling();
            while (true) {
                if (next == null || next.tagName().equals("h2")) {
                    Element section = heading.before("<section class='topic'/>").previousElementSibling();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 03 05:02:20 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/collect/Streams.java

       * nulls as long as the *last* element is *not* null.
       *
       * (To "go out of its way," the method tracks a `set` bit so that it can distinguish "the final
       * split has a last element of null, so throw NPE" from "the final split was empty, so look for an
       * element in the prior one.")
       */
      public static <T> java.util.Optional<T> findLast(Stream<T> stream) {
        class OptionalState {
          boolean set = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

                  public Collection<String> create(String[] elements) {
                    // TODO: MinimalCollection should perhaps throw
                    for (Object element : elements) {
                      if (element == null) {
                        throw new NullPointerException();
                      }
                    }
                    return MinimalCollection.of(elements);
                  }
                })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top