| java.lang.Object biz.hammurapi.util.Version
Version | final public class Version implements Comparable(Code) | | Represents 3-digit version
author: Pavel Vlasov version: $Revision: 1.2 $ |
Constructor Summary | |
public | Version(int major, int minor, int micro) Create a new instance of a Version object with the
specified version numbers. | public | Version(String version) |
Version | public Version(int major, int minor, int micro)(Code) | | Create a new instance of a Version object with the
specified version numbers.
Parameters: major - Major version number. Parameters: minor - Minor version number. Parameters: rev - Micro version number. |
equals | public boolean equals(Object o)(Code) | | Parameters: other - |
getMajor | public int getMajor()(Code) | | |
getMicro | public int getMicro()(Code) | | |
getMinor | public int getMinor()(Code) | | |
hashCode | public int hashCode()(Code) | | |
toString | public String toString()(Code) | | Overload toString to report version correctly.
the dot seperated version string |
|
|