Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CartesianList (0.17 sec)

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

          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
        return new CartesianList<>(axesBuilder.build());
      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CartesianList.java

          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
        return new CartesianList<>(axesBuilder.build());
      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

                Object writeReplace() {
                  return super.writeReplace();
                }
              };
          return new CartesianSet<E>(axes, new CartesianList<E>(listAxes));
        }
    
        private CartesianSet(ImmutableList<ImmutableSet<E>> axes, CartesianList<E> delegate) {
          this.axes = axes;
          this.delegate = delegate;
        }
    
        @Override
        protected Collection<List<E>> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

       *     a provided list is null
       * @since 19.0
       */
      public static <B> List<List<B>> cartesianProduct(List<? extends List<? extends B>> lists) {
        return CartesianList.create(lists);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top