public class NamedVersion extends Object implements IVersion
| Constructor and Description |
|---|
NamedVersion(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IVersion o) |
boolean |
equals(Object o) |
int |
getBuild() |
int |
getMajor() |
int |
getMinor() |
int |
getPatch() |
int |
hashCode() |
boolean |
isStable()
Returns true if this represents a stable release.
|
String |
toString() |
public NamedVersion(String name) throws InvalidRangeException
InvalidRangeExceptionpublic int compareTo(IVersion o)
compareTo in interface Comparable<IVersion>public int getMajor()
public int getMinor()
public int getPatch()
public int getBuild()
public boolean isStable()
IVersionCopyright © 2018. All rights reserved.