Interface Version
-
- All Superinterfaces:
Comparable<Version>,Serializable
public interface Version extends Comparable<Version>, Serializable
The version of an archived media package or element. Versions have a natural order where v1 < v2 means that v1 is older that v2.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object that)A version must implement hashCode and equals.inthashCode()A version must implement hashCode and equals.booleanisOlder(Version v)Check if this version is older thanv.booleanisYounger(Version v)Check if this version is younger thanv.StringtoString()Serialize to a string.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
isOlder
boolean isOlder(Version v)
Check if this version is older thanv.
-
isYounger
boolean isYounger(Version v)
Check if this version is younger thanv.
-
equals
boolean equals(Object that)
A version must implement hashCode and equals.
-
hashCode
int hashCode()
A version must implement hashCode and equals.
-
toString
String toString()
Serialize to a string. This is the inverse function ofAssetManager.toVersion(String).
-
-