public class StepIntersection
extends java.lang.Object
Constructor and Description |
---|
StepIntersection() |
Modifier and Type | Method and Description |
---|---|
static <T,V> void |
processElementIntersections(T element1,
java.util.List<? extends V> elements2,
Convertor<? super T,? extends TextRange> convertor1,
Convertor<? super V,? extends TextRange> convertor2,
PairConsumer<? super T,? super V> intersectionConsumer) |
static <T,V> void |
processIntersections(java.util.List<? extends T> elements1,
java.util.List<? extends V> elements2,
Convertor<? super T,? extends TextRange> convertor1,
Convertor<? super V,? extends TextRange> convertor2,
PairConsumer<? super T,? super V> intersectionConsumer)
Iterate over intersected ranges in two lists, sorted by TextRange.
|
public static <T,V> void processIntersections(java.util.List<? extends T> elements1, java.util.List<? extends V> elements2, Convertor<? super T,? extends TextRange> convertor1, Convertor<? super V,? extends TextRange> convertor2, PairConsumer<? super T,? super V> intersectionConsumer)
public static <T,V> void processElementIntersections(T element1, java.util.List<? extends V> elements2, Convertor<? super T,? extends TextRange> convertor1, Convertor<? super V,? extends TextRange> convertor2, PairConsumer<? super T,? super V> intersectionConsumer)