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 |
getMajor() |
int |
getMinor() |
int |
getPatch() |
int |
hashCode() |
boolean |
isStable()
Returns true if this represents a stable release.
|
boolean |
satisfies(String range)
Satisfaction of named versions must be exact.
|
String |
toString() |
public NamedVersion(String name)
public int compareTo(IVersion o)
compareTo in interface Comparable<IVersion>public boolean satisfies(String range)
public int getMajor()
public int getMinor()
public int getPatch()
public boolean isStable()
IVersionCopyright © 2015. All rights reserved.