public class Version extends Object implements Comparable<Version>, Serializable
| Constructor and Description |
|---|
Version(int... numbers) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Version other) |
boolean |
equals(Object obj) |
int[] |
getNumbers() |
int |
hashCode() |
boolean |
matches(Version other)
A version matches another if it has equal or more numbers and all its numbers equal those of
the other.
|
protected String |
renderVersionNumbers() |
String |
toString() |
public int[] getNumbers()
public int compareTo(Version other)
compareTo in interface Comparable<Version>public boolean matches(Version other)
other - protected String renderVersionNumbers()
Copyright © 2015. All rights reserved.