|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ggf.drmaa.Version
Class used to represent the DRM version info
Constructor Summary | |
Version(int major,
int minor)
Create a new Version object |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Test for equality between two Version objects. |
int |
getMajor()
Get the major version number. |
int |
getMinor()
Get the minor version number. |
int |
hashCode()
Get a hash code based on the major and minor version numbers. |
java.lang.String |
toString()
Converts this Version object into a printable String. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Version(int major, int minor)
major
- major version number (non-negative integer)minor
- minor version number (non-negative integer)Method Detail |
public int getMajor()
public int getMinor()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
obj
- the object against which to test
public int hashCode()
public java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |