public class Overlap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.TreeSet<java.lang.Integer> |
aIntersectB |
java.util.TreeSet<java.lang.Integer> |
aMinusB |
java.util.TreeSet<java.lang.Integer> |
bMinusA |
Constructor and Description |
---|
Overlap(java.util.List<java.lang.Integer> a,
java.util.List<java.lang.Integer> b)
Computes the overlap of two lists, very expensive compared to the TreeSet variant!
|
Overlap(java.util.TreeSet<java.lang.Integer> a,
java.util.TreeSet<java.lang.Integer> b) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public java.util.TreeSet<java.lang.Integer> aIntersectB
public java.util.TreeSet<java.lang.Integer> aMinusB
public java.util.TreeSet<java.lang.Integer> bMinusA
public Overlap(java.util.TreeSet<java.lang.Integer> a, java.util.TreeSet<java.lang.Integer> b)
public Overlap(java.util.List<java.lang.Integer> a, java.util.List<java.lang.Integer> b)
a
- b
-