public class NBootVersion extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NBootVersion.NReservedVersionIntervalParserBoot |
static class |
NBootVersion.NVersionIntervalBoot |
| Modifier and Type | Field and Description |
|---|---|
static NBootVersion |
BLANK |
protected String |
expression |
static Pattern |
PATTERN |
| Constructor and Description |
|---|
NBootVersion(String expression) |
| Modifier and Type | Method and Description |
|---|---|
String |
asSingleValue() |
int |
compareTo(NBootVersion other) |
int |
compareTo(String other) |
static int |
compareVersions(String v1,
String v2) |
NBootVersion |
compatNewer() |
NBootVersion |
compatOlder() |
boolean |
equals(Object o) |
String |
get(int index) |
String |
getNumber(int level) |
String |
getValue() |
int |
hashCode() |
NBootVersion |
inc() |
NBootVersion |
inc(int index) |
NBootVersion |
inc(int index,
BigInteger amount) |
NBootVersion |
inc(int index,
long amount) |
static String |
incVersion(String oldVersion,
int level,
BigInteger count) |
static String |
incVersion(String oldVersion,
int level,
long count) |
List<NBootVersion.NVersionIntervalBoot> |
intervals() |
boolean |
isBlank() |
boolean |
isFilter() |
boolean |
isLatestVersion() |
boolean |
isNull() |
boolean |
isReleaseVersion() |
boolean |
isSingleValue() |
boolean |
isSnapshotVersion() |
int |
numberSize() |
static NBootVersion |
of(String value) |
int |
size() |
String[] |
split() |
String |
toString() |
public static Pattern PATTERN
public static NBootVersion BLANK
protected String expression
public NBootVersion(String expression)
public static String incVersion(String oldVersion, int level, BigInteger count)
public static NBootVersion of(String value)
public boolean isLatestVersion()
public boolean isReleaseVersion()
public boolean isSnapshotVersion()
public boolean isNull()
public boolean isBlank()
public String getValue()
public int compareTo(String other)
public int compareTo(NBootVersion other)
public NBootVersion compatNewer()
public NBootVersion compatOlder()
public List<NBootVersion.NVersionIntervalBoot> intervals()
public String asSingleValue()
public boolean isSingleValue()
public boolean isFilter()
public NBootVersion inc()
public NBootVersion inc(int index)
public NBootVersion inc(int index, long amount)
public NBootVersion inc(int index, BigInteger amount)
public int size()
public int numberSize()
public String[] split()
public String get(int index)
public String getNumber(int level)
Copyright © 2026 vpc open source initiative. All rights reserved.