public static final class VersionRange.Bound extends Object
Constructor and Description |
---|
Bound(Version version,
boolean inclusive)
Creates a new bound with the specified properties.
|
Modifier and Type | Method and 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() |
public Version getVersion()
null
.public boolean isInclusive()
true
if the bounding version is included in the range, false
if not.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.