|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Transformation.Profiling.VersionRange
public class VersionRange
Constructor Summary | |
---|---|
VersionRange(VersionNumber begin,
VersionNumber end)
|
Method Summary | |
---|---|
boolean |
after(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): After - self.begin.position > other.end.position |
boolean |
before(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Before - self.end.position < other.begin.position |
boolean |
begins(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Begins - self.begin.position = other.begin.position AND self.end.position < other.end.position |
boolean |
begunBy(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): BegunBy - self.begin.position = other.begin.position AND self.end.position > other.end.position |
boolean |
contains(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Contains - self.begin.position < other.begin.position AND self.end.position > other.end.position |
boolean |
containsNonStrict(VersionRange other)
OR-combination of begunBy, contains, equals, endedBy: self.begin.position <= other.begin.position AND self.end.position >= other.end.position |
boolean |
during(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): During - self.begin.position > other.begin.position AND self.end.position < other.end.position |
boolean |
endedBy(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): EndedBy - self.begin.position < other.begin.position AND self.end.position = other.end.position |
boolean |
ends(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Ends - self.begin.position > other.begin.position AND self.end.position = other.end.position |
boolean |
equals(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Equals - self.begin.position = other.begin.position AND self.end.position = other.end.position |
boolean |
meets(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Meets - self.end.position = other.begin.position |
boolean |
metBy(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): MetBy - self.begin.position = other.end.position |
boolean |
overlappedBy(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): OverlappedBy - self.begin.position > other.begin.position AND self.begin.position < other.end.position AND self.end.position > other.end.position |
boolean |
overlaps(VersionRange other)
Uses the same expression as ISO 19108 (see TM_RelativePosition for time periods): Overlaps - self.begin.position < other.begin.position AND self.end.position > other.begin.position AND self.end.position < other.end.position |
String |
toString()
|
VersionRange |
union(VersionRange other)
Creates a new VersionRange that is the union of both this range and the other, iff this range is not before and not after the other. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionRange(VersionNumber begin, VersionNumber end)
Method Detail |
---|
public boolean before(VersionRange other)
other
-
public boolean meets(VersionRange other)
other
-
public boolean overlaps(VersionRange other)
other
-
public boolean begins(VersionRange other)
other
-
public boolean begunBy(VersionRange other)
other
-
public boolean during(VersionRange other)
other
-
public boolean contains(VersionRange other)
other
-
public boolean containsNonStrict(VersionRange other)
other
-
public boolean equals(VersionRange other)
other
-
public boolean overlappedBy(VersionRange other)
other
-
public boolean ends(VersionRange other)
other
-
public boolean endedBy(VersionRange other)
other
-
public boolean metBy(VersionRange other)
other
-
public boolean after(VersionRange other)
other
-
public VersionRange union(VersionRange other)
other
-
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |