public class VersionRange extends Object
| Constructor and Description |
|---|
VersionRange(Version unique)
Creates a VersionRange that includes a unique version number.
|
VersionRange(Version min,
Version max,
boolean maxIncluded)
Creates a version range.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
includes(int[] v)
Return true if this VersionRange includes the given version.
|
boolean |
includes(Version version)
Return true if this VersionRange includes the given version.
|
static int[] |
parse(String s)
Parse a string into a list of version numbers (separated by a dot in the string).
|
String |
toString() |
public VersionRange(Version unique)
public boolean includes(Version version)
public boolean includes(int[] v)
public static int[] parse(String s)
Copyright © 2018. All rights reserved.