39404142434445
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 0, 0, 0, VersionType.BETA, "GOLD"); }
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 1, 1, 0, VersionType.STABLE, "MISCHIEFMANAGED"); }
50515253545556
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 1, 2, 2, VersionType.STABLE, "REGROUP"); }
149150151152153154155156157158
public final boolean equals(Object obj) { if (!(obj instanceof AbstractVersion)) return false; //Set up the other version GenericVersion version = ((AbstractVersion) obj).toGenericVersion(); //And compare return ((this.compareTo(version)) == 0); }
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 2, 0, 0, VersionType.ALPHA, "HIP"); }
150151152153154155156157158159
if (!(obj instanceof AbstractVersion)) { return false; } //Set up the other version GenericVersion version = ((AbstractVersion) obj).toGenericVersion(); //And compare return ((this.compareTo(version)) == 0); }
209210211212213214215216217218219
revision = Integer.valueOf(versionParts[3].split("[ -]")[0]); } else { revision = Integer.valueOf(versionParts[3]); } version = new GenericVersion(major, minor, build, revision); } break; case 3: { int major = Integer.valueOf(versionParts[0]);
46474849505152
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 0, 0, 1, VersionType.STABLE, "UPLIB"); }
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 0, 0, 0, VersionType.STABLE, "GOLD"); }
* * @return The version * @since 1.0.0.0 */ public static GenericVersion getVersion() { return new GenericVersion(1, 0, 0, 0, VersionType.RC, "GOLD"); }