Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAxisIndexForProductIndex (0.24 sec)

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

          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
        return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size();
      }
    
      @Override
      public int indexOf(@CheckForNull Object o) {
        if (!(o instanceof List)) {
          return -1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CartesianList.java

          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
        return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size();
      }
    
      @Override
      public int indexOf(@CheckForNull Object o) {
        if (!(o instanceof List)) {
          return -1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top