public class OrRange extends LogicalRange implements IVersionRange
range1, range2| Constructor and Description |
|---|
OrRange(IVersionRange range1,
IVersionRange range2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(IVersion version) |
IVersion |
getMaximum()
Return the maximum version that satisfies this range
|
IVersion |
getMinimum()
Return the minimum version that satisfies this range
|
String |
getOperator() |
boolean |
intersects(IVersionRange yourRange)
Check if two ranges intersect
|
boolean |
isAtomic()
Returns true if this range is a simple singular version
|
boolean |
isSimple()
Return true if this is a simple range which has no gaps
|
toStringpublic OrRange(IVersionRange range1, IVersionRange range2)
operator - version - public boolean contains(IVersion version)
contains in interface IVersionRangepublic boolean isAtomic()
IVersionRangeisAtomic in interface IVersionRangepublic boolean isSimple()
IVersionRangeisSimple in interface IVersionRangepublic IVersion getMinimum()
IVersionRangegetMinimum in interface IVersionRangepublic IVersion getMaximum()
IVersionRangegetMaximum in interface IVersionRangepublic String getOperator()
getOperator in class LogicalRangepublic boolean intersects(IVersionRange yourRange)
IVersionRangeintersects in interface IVersionRangeCopyright © 2016. All rights reserved.