|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A class of Revisions of something.
An example of a revision is software revison. A revision consists of a sequence of numbers. The first three numbers are called "major", "minor" and "micro". Further numbers have no name.
| Field Summary | |
static java.lang.String |
CVS_REVISION
|
| Method Summary | |
abstract boolean |
equals(java.lang.Object other)
Check whether or not this revision is equal to another |
abstract int |
getMajor()
Return the major number of this Revision. |
abstract int |
getMicro()
Return the micro number of this Revision. |
abstract int |
getMinor()
Return the minor number of this Revision. |
abstract int |
getNumber(int index)
Return the index'th number of this Revision. |
abstract int |
length()
Return the number of numbers in this Revision. |
| Field Detail |
public static final java.lang.String CVS_REVISION
| Method Detail |
public abstract int getMajor()
public abstract int getMinor()
public abstract int getMicro()
public abstract int getNumber(int index)
index - The index of the requested number.public abstract int length()
public abstract boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - The other revision.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||