Modifier | Constructor and Description |
---|---|
|
DefaultVersion() |
protected |
DefaultVersion(int mayor,
int minor,
int rev,
String classifier,
int build) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(String op,
Version other) |
Object |
clone()
Creates a copy of the object.
|
boolean |
equals(Object obj) |
String |
fullFormat() |
int |
getBuild() |
String |
getClassifier() |
int |
getMajor() |
int |
getMayor() |
int |
getMinor() |
int |
getRevision() |
int |
hashCode() |
Version |
parse(String version) |
Version |
setBuild(int build) |
String |
toString() |
public DefaultVersion()
protected DefaultVersion(int mayor, int minor, int rev, String classifier, int build)
public int getRevision()
getRevision
in interface Version
public String getClassifier()
getClassifier
in interface Version
public String fullFormat()
fullFormat
in interface Version
public Object clone() throws CloneNotSupportedException
Cloneable
clone
in class Object
CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.
Copyright © 2013 gvSIG Association. All Rights Reserved.