| Package | Description |
|---|---|
| com.baidu.hugegraph.util | |
| com.baidu.hugegraph.version |
| Modifier and Type | Method and Description |
|---|---|
static VersionUtil.Version |
VersionUtil.Version.of(Class<?> clazz) |
static VersionUtil.Version |
VersionUtil.Version.of(Class<?> clazz,
String defaultValue) |
static VersionUtil.Version |
VersionUtil.Version.of(String version) |
| Modifier and Type | Method and Description |
|---|---|
static void |
VersionUtil.check(VersionUtil.Version version,
String begin,
String end,
String component)
Check whether a component version is matched expected range,
throw an exception if it's not matched.
|
int |
VersionUtil.Version.compareTo(VersionUtil.Version that) |
static boolean |
VersionUtil.match(VersionUtil.Version version,
String begin,
String end)
Compare if a version is inside a range [begin, end)
|
| Modifier and Type | Field and Description |
|---|---|
static VersionUtil.Version |
CommonVersion.VERSION |
Copyright © 2021. All rights reserved.