Package com.earth2me.essentials.utils
Class VersionUtil.BukkitVersion
java.lang.Object
com.earth2me.essentials.utils.VersionUtil.BukkitVersion
- All Implemented Interfaces:
Comparable<VersionUtil.BukkitVersion>
- Enclosing class:
VersionUtil
public static final class VersionUtil.BukkitVersion
extends Object
implements Comparable<VersionUtil.BukkitVersion>
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static VersionUtil.BukkitVersion
fromString
(String string) int
getMajor()
int
getMinor()
int
getPatch()
int
int
double
int
hashCode()
boolean
boolean
boolean
boolean
toString()
-
Method Details
-
fromString
-
isHigherThan
-
isHigherThanOrEqualTo
-
isLowerThan
-
isLowerThanOrEqualTo
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getPatch
public int getPatch() -
getRevision
public double getRevision() -
getPrerelease
public int getPrerelease() -
getReleaseCandidate
public int getReleaseCandidate() -
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<VersionUtil.BukkitVersion>
-