Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for cartesianProduct (0.05 seconds)

  1. guava/src/com/google/common/collect/CartesianList.java

    import java.util.AbstractList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.RandomAccess;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * @throws IllegalArgumentException if the cartesian product size exceeds the {@code int} range
       * @since 2.0
       */
      @SafeVarargs
      public static <B> Set<List<B>> cartesianProduct(Set<? extends B>... sets) {
        return cartesianProduct(asList(sets));
      }
    
      private static final class CartesianSet<E> extends ForwardingCollection<List<E>>
          implements Set<List<E>> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
Back to Top