Package org.moditect.model
Class Version
- java.lang.Object
-
- org.moditect.model.Version
-
public class Version extends java.lang.ObjectSimplified version of Runtime.Version (which requires Java 9+).
-
-
Field Summary
Fields Modifier and Type Field Description private intfeature
-
Constructor Summary
Constructors Modifier Constructor Description privateVersion(int feature)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intfeature()inthashCode()java.lang.StringtoString()static VersionvalueOf(int feature)static VersionvalueOf(java.lang.Object feature)
-
-
-
Method Detail
-
valueOf
public static Version valueOf(int feature)
-
valueOf
public static Version valueOf(java.lang.Object feature)
-
feature
public int feature()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-