public static final class VersionRange.Bound extends java.lang.Object
| Constructor | Description |
|---|---|
Bound(Version version,
boolean inclusive) |
Creates a new bound with the specified properties.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
Version |
getVersion() |
Gets the bounding version.
|
int |
hashCode() |
|
boolean |
isInclusive() |
Indicates whether the bounding version is included in the range or not.
|
java.lang.String |
toString() |
public Version getVersion()
null.public boolean isInclusive()
true if the bounding version is included in the range, false if not.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object