Package org.moditect.model
Class Version
- java.lang.Object
-
- org.moditect.model.Version
-
public class Version extends java.lang.Object
Simplified version of Runtime.Version (which requires Java 9+).
-
-
Field Summary
Fields Modifier and Type Field Description private int
feature
-
Constructor Summary
Constructors Modifier Constructor Description private
Version(int feature)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
feature()
int
hashCode()
java.lang.String
toString()
static Version
valueOf(int feature)
static Version
valueOf(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-