Package com.djrapitops.plan.version
Class VersionNumber
- java.lang.Object
-
- com.djrapitops.plan.version.VersionNumber
-
- All Implemented Interfaces:
java.lang.Comparable<VersionNumber>
public class VersionNumber extends java.lang.Object implements java.lang.Comparable<VersionNumber>
-
-
Constructor Summary
Constructors Constructor Description VersionNumber(java.lang.String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asString()
int
compareTo(VersionNumber o)
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isNewerThan(VersionNumber other)
java.lang.String
toString()
-
-
-
Method Detail
-
isNewerThan
public boolean isNewerThan(VersionNumber other)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(VersionNumber o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<VersionNumber>
-
asString
public java.lang.String asString()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-