Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Products (0.18 sec)

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

       * }
       * }</pre>
       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      /** The 0-ary cartesian product is a single empty list. */
      public void testCartesianProduct_zeroary() {
        assertThat(Sets.cartesianProduct()).containsExactly(list());
      }
    
      /** A unary cartesian product is one list of size 1 for each element in the input set. */
      public void testCartesianProduct_unary() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
       * constructs an eight-kilobyte bit array and queries that. In many situations this produces a
       * matcher which is faster to query than the original.
       */
      @GwtIncompatible // SmallCharMatcher
      CharMatcher precomputedInternal() {
        final BitSet table = new BitSet();
        setBits(table);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
       *     {@code iterator} produces fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
       *     {@code iterator} produces fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

       * invariants:
       *
       * <ol>
       *   <li>{@code canonicalize(t)} always produces the equal result for equivalent types. For
       *       example both {@code Enum<?>} and {@code Enum<? extends Enum<?>>} canonicalize to {@code
       *       Enum<? extends Enum<E>}.
       *   <li>{@code canonicalize(t)} produces a "literal" supertype of t. For example: {@code Enum<?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       *     keyFunction} on each value in the input collection to that value
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any key
       */
      public static <K, V> ImmutableListMultimap<K, V> index(
          Iterable<V> values, Function<? super V, K> keyFunction) {
        return index(values.iterator(), keyFunction);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
       * constructs an eight-kilobyte bit array and queries that. In many situations this produces a
       * matcher which is faster to query than the original.
       */
      @GwtIncompatible // SmallCharMatcher
      CharMatcher precomputedInternal() {
        final BitSet table = new BitSet();
        setBits(table);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

         *     passed to {@code whenAllSucceed}, if that is the method you used to create this {@code
         *     FutureCombiner}). Even though the future never produces a value other than {@code null},
         *     you should typically check whether it failed: See <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top