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, visitNonOverlappingIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend)
protected IntervalIterator combine(IntervalIterator minuend, IntervalIterator subtrahend)
combine in class DifferenceIntervalsSourcepublic java.util.Collection<IntervalsSource> pullUpDisjunctions()
IntervalsSourceCollections.singleton(this)pullUpDisjunctions in class IntervalsSourcepublic int hashCode()
hashCode in class IntervalsSourcepublic boolean equals(java.lang.Object other)
equals in class IntervalsSourcepublic java.lang.String toString()
toString in class IntervalsSource