class NonOverlappingIntervalsSource extends DifferenceIntervalsSource
Modifier and Type | Class and Description |
---|---|
private static class |
NonOverlappingIntervalsSource.NonOverlappingIterator |
minuend, subtrahend
Constructor and Description |
---|
NonOverlappingIntervalsSource(IntervalsSource minuend,
IntervalsSource subtrahend) |
Modifier and Type | Method and Description |
---|---|
protected IntervalIterator |
combine(IntervalIterator minuend,
IntervalIterator subtrahend) |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.util.Collection<IntervalsSource> |
pullUpDisjunctions()
Expert: return the set of disjunctions that make up this IntervalsSource
Most implementations can return
Collections.singleton(this) |
java.lang.String |
toString() |
intervals, matches, minExtent, visit
NonOverlappingIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend)
protected IntervalIterator combine(IntervalIterator minuend, IntervalIterator subtrahend)
combine
in class DifferenceIntervalsSource
public java.util.Collection<IntervalsSource> pullUpDisjunctions()
IntervalsSource
Collections.singleton(this)
pullUpDisjunctions
in class IntervalsSource
public int hashCode()
hashCode
in class IntervalsSource
public boolean equals(java.lang.Object other)
equals
in class IntervalsSource
public java.lang.String toString()
toString
in class IntervalsSource