Package com.macrofocus.molap.subset
Class SortedArraySetOperations
- java.lang.Object
-
- com.macrofocus.molap.subset.SortedArraySetOperations
-
public class SortedArraySetOperations extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SortedArraySetOperations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int[]
diffSortedTIntArrays(int size, int[] indices)
static int[]
diffSortedTIntList(int[] a, int[] b)
Relative complement of b in a (or set-theoretic difference of a and b)static int[]
diffSortedTIntList(int size, int[] indices)
static int[]
intersectSortedArrays(int[] a, int[] b)
static int[]
unionSortedArrays(int[] a, int[] b)
static int[]
unionSortedTIntList(int[] a, int[] b)
-
-
-
Method Detail
-
diffSortedTIntArrays
public static int[] diffSortedTIntArrays(int size, int[] indices)
-
diffSortedTIntList
public static int[] diffSortedTIntList(int size, int[] indices)
-
diffSortedTIntList
public static int[] diffSortedTIntList(int[] a, int[] b)
Relative complement of b in a (or set-theoretic difference of a and b)- Parameters:
a
-b
-- Returns:
-
unionSortedTIntList
public static int[] unionSortedTIntList(int[] a, int[] b)
-
unionSortedArrays
public static int[] unionSortedArrays(int[] a, int[] b)
-
intersectSortedArrays
public static int[] intersectSortedArrays(int[] a, int[] b)
-
-