Package org.eclipse.aether.version
Class VersionRange.Bound
java.lang.Object
org.eclipse.aether.version.VersionRange.Bound
- Enclosing interface:
VersionRange
A bound of a version range.
-
Constructor Details
-
Bound
Creates a new bound with the specified properties.- Parameters:
version
- The bounding version, must not benull
.inclusive
- A flag whether the specified version is included in the range or not.
-
-
Method Details
-
getVersion
Gets the bounding version.- Returns:
- The bounding version, never
null
.
-
isInclusive
Indicates whether the bounding version is included in the range or not.- Returns:
true
if the bounding version is included in the range,false
if not.
-
equals
-
hashCode
-
toString
-