public class ImmutableInterval extends AbstractInterval
SEG_END_CMP, SEG_START_CMP
Constructor and Description |
---|
ImmutableInterval(Interval interval)
Copy constructor.
|
ImmutableInterval(int s,
int e)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Get the end of the interval.
|
int |
getStart()
Get the start of the interval.
|
contains, endsEarilerThan, endsLaterThan, endsSameAs, equals, follows, getLength, grow, hashCode, immediatelyFollows, immediatelyPrecedes, leftAligned, overlap, overlaps, overlapsLeft, overlapsRight, precedes, rightAligned, sameExtent, startsEarilerThan, startsLaterThan, startsSameAs, toString
public ImmutableInterval(Interval interval)
interval
- the original interval.public ImmutableInterval(int s, int e)
s
- start offset.e
- end offset.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.