@Test public void toLongOrthotope() { Assert.assertEquals(ImmutableList.of(TestUtils.TWO_FOUR, TestUtils.FOUR_EIGHT), RangeUtil.toOrthotope( ImmutableList.of( new Pow2LengthBitSetRange(TestUtils.createBitVector(2, 3), 1), new Pow2LengthBitSetRange( TestUtils.createBitVector(4, 3), 2)), LongRangeHome.INSTANCE)); }
public static <T, V, R> List<R> toOrthotope( List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome) { List<R> result = new ArrayList<>(pow2LengthOrthotope.size()); for (Pow2LengthBitSetRange bitSetRange : pow2LengthOrthotope) { result.add(rangeHome.toRange(bitSetRange)); } return Collections.unmodifiableList(result); }
RangeUtil { public static <T, V, R> List<R> toOrthotope( List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome) { List<R> result = new ArrayList<>(pow2LengthOrthotope.size()); for (Pow2LengthBitSetRange bitSetRange : pow2LengthOrthotope) { result.add(rangeHome.toRange(bitSetRange)); } return Collections.unmodifiableList(result); } }
RangeUtil { public static <T, V, R> List<R> toOrthotope( List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome) { List<R> result = new ArrayList<>(pow2LengthOrthotope.size()); for (Pow2LengthBitSetRange bitSetRange : pow2LengthOrthotope) { result.add(rangeHome.toRange(bitSetRange)); } return Collections.unmodifiableList(result); }  }
RangeUtil { public static <T, V, R> List<R> toOrthotope( List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome) { List<R> result = new ArrayList<>(pow2LengthOrthotope.size()); for (Pow2LengthBitSetRange bitSetRange : pow2LengthOrthotope) { result.add(rangeHome.toRange(bitSetRange)); } return Collections.unmodifiableList(result); }  static void overlapSum(
    List<R> x, List<? extends List<R>> y, RangeHome<T, V, R> rangeHome, V sum); static List<R> toOrthotope(
    List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome); static boolean contains(List<R> orthotope, List<T> point); static boolean containsBigInteger(List<BigIntegerRange> orthotope, List<BigInteger> point); static boolean contains(int[][] orthotope, int[] point); }
RangeUtil { public static <T, V, R> List<R> toOrthotope( List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome) { List<R> result = new ArrayList<>(pow2LengthOrthotope.size()); for (Pow2LengthBitSetRange bitSetRange : pow2LengthOrthotope) { result.add(rangeHome.toRange(bitSetRange)); } return Collections.unmodifiableList(result); }  static void overlapSum(
    List<R> x, List<? extends List<R>> y, RangeHome<T, V, R> rangeHome, V sum); static List<R> toOrthotope(
    List<Pow2LengthBitSetRange> pow2LengthOrthotope, RangeHome<T, V, R> rangeHome); static boolean contains(List<R> orthotope, List<T> point); static boolean containsBigInteger(List<BigIntegerRange> orthotope, List<BigInteger> point); static boolean contains(int[][] orthotope, int[] point);  }