public interface VersionRange
Modifier and Type | Interface and Description |
---|---|
static class |
VersionRange.Bound
A bound of a version range.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsVersion(Version version)
Determines whether the specified version is contained within this range.
|
VersionRange.Bound |
getLowerBound()
Gets a lower bound (if any) for this range.
|
VersionRange.Bound |
getUpperBound()
Gets an upper bound (if any) for this range.
|
boolean containsVersion(Version version)
version
- The version to test, must not be null
.true
if this range contains the specified version, false
otherwise.VersionRange.Bound getLowerBound()
null
is there is none.VersionRange.Bound getUpperBound()
null
is there is none.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.