org.codehaus.modello.model
public class Version extends Object implements Comparable
Version: $Id: Version.java 688 2006-11-21 13:45:03Z brett $
Field Summary | |
---|---|
static Version | INFINITE |
Constructor Summary | |
---|---|
Version(String version) |
Method Summary | |
---|---|
int | compareTo(Object o) |
boolean | equals(Object object) |
int | getMajor() |
int | getMicro() |
int | getMinor() |
boolean | greaterOrEqualsThan(Version other)
Returns true if this is greater or equals that other .
|
boolean | greaterThan(Version other)
Returns true if this is greater that other .
|
int | hashCode() |
boolean | inside(VersionRange range) |
boolean | lesserOrEqualsThan(Version other)
Returns true if this is lesser or equals that other .
|
boolean | lesserThan(Version other)
Returns true if this is lesser that other .
|
String | toString() |
String | toString(String prefix, String separator) |
this
is greater or equals that other
.
Parameters: other
this
is greater that other
.
Parameters: other
this
is lesser or equals that other
.
Parameters: other
this
is lesser that other
.
Parameters: other