public abstract static class JoinOp.BinaryJoinOp<L extends LatticeElement> extends java.lang.Object implements JoinOp<L>
JoinOp
that makes it easy to join to
lattice elements at a time.JoinOp.BinaryJoinOp<L extends LatticeElement>
Constructor and Description |
---|
BinaryJoinOp() |
Modifier and Type | Method and Description |
---|---|
L |
apply(java.util.List<L> values) |
(package private) abstract L |
apply(L latticeA,
L latticeB)
Creates a new lattice that will be the join of two input lattices.
|
(package private) static int |
computeMidPoint(int size)
Finds the midpoint of a list.
|
public L apply(java.util.List<L> values)
apply
in interface com.google.common.base.Function<java.util.List<L extends LatticeElement>,L extends LatticeElement>
abstract L apply(L latticeA, L latticeB)
latticeA
and latticeB
.static int computeMidPoint(int size)
size
- Size of the list.