class UnorderedIntervalsSource extends ConjunctionIntervalsSource
Modifier and Type | Class and Description |
---|---|
private static class |
UnorderedIntervalsSource.UnorderedIntervalIterator |
Modifier and Type | Field and Description |
---|---|
private boolean |
allowOverlaps |
isMinimizing, subSources
Modifier | Constructor and Description |
---|---|
private |
UnorderedIntervalsSource(java.util.List<IntervalsSource> sources,
boolean allowOverlaps) |
Modifier and Type | Method and Description |
---|---|
(package private) static IntervalsSource |
build(java.util.List<IntervalsSource> sources,
boolean allowOverlaps) |
protected IntervalIterator |
combine(java.util.List<IntervalIterator> iterators) |
boolean |
equals(java.lang.Object other) |
private static java.util.List<IntervalsSource> |
flatten(java.util.List<IntervalsSource> sources,
boolean allowOverlaps) |
int |
hashCode() |
int |
minExtent()
Return the minimum possible width of an interval returned by this source
|
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, visit
private UnorderedIntervalsSource(java.util.List<IntervalsSource> sources, boolean allowOverlaps)
static IntervalsSource build(java.util.List<IntervalsSource> sources, boolean allowOverlaps)
private static java.util.List<IntervalsSource> flatten(java.util.List<IntervalsSource> sources, boolean allowOverlaps)
protected IntervalIterator combine(java.util.List<IntervalIterator> iterators)
combine
in class ConjunctionIntervalsSource
public int minExtent()
IntervalsSource
minExtent
in class IntervalsSource
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