Package org.eclipse.aether.version
Class VersionRange.Bound
- java.lang.Object
-
- org.eclipse.aether.version.VersionRange.Bound
-
- Enclosing interface:
- VersionRange
public static final class VersionRange.Bound extends Object
A bound of a version range.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Version
getVersion()
Gets the bounding version.int
hashCode()
boolean
isInclusive()
Indicates whether the bounding version is included in the range or not.String
toString()
-
-
-
Method Detail
-
getVersion
public Version getVersion()
Gets the bounding version.- Returns:
- The bounding version, never
null
.
-
isInclusive
public boolean 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.
-
-