public class PrimitiveArrays extends Object
| Modifier and Type | Method and Description |
|---|---|
static long[] |
intersect(long[] left,
long[] right)
Compute the intersection of two sorted long array sets.
|
static long[] |
symmetricDifference(long[] left,
long[] right)
Compute the symmetric difference (set XOR basically) of two sorted long array sets.
|
static int[] |
union(int[] lhs,
int[] rhs)
Compute union of two sets of integers represented as sorted arrays.
|
public static int[] union(int[] lhs,
int[] rhs)
lhs - a set of integers, represented as a sorted array.rhs - a set of integers, represented as a sorted array.public static long[] intersect(long[] left,
long[] right)
left - a sorted array setright - another sorted array setpublic static long[] symmetricDifference(long[] left,
long[] right)
left - a sorted array setright - another sorted array setCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.