@ParametersAreNonnullByDefault public final class Version extends Object implements Comparable<Version>, Serializable
Constructor and Description |
---|
Version(CharSequence version) |
Version(String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Version o) |
boolean |
equals(Object obj) |
Comparable |
getComponent(int pos) |
Comparable[] |
getComponents() |
String |
getImage() |
int |
getMajor() |
int |
getMinor() |
int |
getNrComponents() |
int |
getPatch() |
int |
hashCode() |
String |
toString() |
public Version(String version)
public Version(CharSequence version)
public int compareTo(Version o)
compareTo
in interface Comparable<Version>
public String getImage()
public Comparable[] getComponents()
public Comparable getComponent(int pos)
public int getMajor()
public int getMinor()
public int getPatch()
public int getNrComponents()
Copyright © 2018 SPF4J. All rights reserved.