Lines Matching defs:version

6  * under the terms of the GNU General Public License version 2 only, as
14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
29 * The original version of this source code and documentation is copyrighted *
42 * Class to store version numbers of the form major.minor.milli.micro.
52 * Returns an instance of VersionInfo with the argument version.
53 * @param version version String in the format of "major.minor.milli.micro"
56 * <= 255. If the trailing version numbers are
59 * @return an instance of VersionInfo with the argument version.
60 * @exception throws an IllegalArgumentException when the argument version
64 public static VersionInfo getInstance(String version)
66 int length = version.length();
72 char c = version.charAt(index);
88 "Invalid version number: String '" + version + "' exceeds version format");
100 * Returns an instance of VersionInfo with the argument version.
101 * @param major major version, non-negative number <= 255.
102 * @param minor minor version, non-negative number <= 255.
103 * @param milli milli version, non-negative number <= 255.
104 * @param micro micro version, non-negative number <= 255.
118 int version = getInt(major, minor, milli, micro);
119 Integer key = Integer.valueOf(version);
122 result = new VersionInfo(version);
131 * @return 0 if the argument is a VersionInfo object that has version
134 * version information greater than this object.
136 * has version information less than this object.
161 "Invalid version number: Version number may be negative or greater than 255";
175 * Gets the int from the version numbers
176 * @param major non-negative version number