public class SpecVersion extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpecVersion.VersionFlag |
Constructor and Description |
---|
SpecVersion() |
Modifier and Type | Method and Description |
---|---|
EnumSet<SpecVersion.VersionFlag> |
getVersionFlags(long versionValue)
Translates a numeric version code into a Set of VersionFlag enums
|
long |
getVersionValue(Set<SpecVersion.VersionFlag> flags)
Translates a set of VersionFlag enums into a long version code
|
public EnumSet<SpecVersion.VersionFlag> getVersionFlags(long versionValue)
versionValue
- longpublic long getVersionValue(Set<SpecVersion.VersionFlag> flags)
flags
- set of versionFlagsCopyright © 2021. All rights reserved.