private static class ComparableVersion.StringItem extends java.lang.Object implements ComparableVersion.Item
Modifier and Type | Field and Description |
---|---|
private static java.util.List<java.lang.String> |
_QUALIFIERS |
private static java.util.Properties |
ALIASES |
private static java.lang.String[] |
QUALIFIERS |
private static java.lang.String |
RELEASE_VERSION_INDEX
A comparable value for the empty-string qualifier.
|
private java.lang.String |
value |
INTEGER_ITEM, LIST_ITEM, STRING_ITEM
Constructor and Description |
---|
StringItem(java.lang.String value,
boolean followedByDigit) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
comparableQualifier(java.lang.String qualifier)
Returns a comparable value for a qualifier.
|
int |
compareTo(ComparableVersion.Item item) |
int |
getType() |
boolean |
isNull() |
java.lang.String |
toString() |
private static final java.lang.String[] QUALIFIERS
private static final java.util.List<java.lang.String> _QUALIFIERS
private static final java.util.Properties ALIASES
private static final java.lang.String RELEASE_VERSION_INDEX
private java.lang.String value
public int getType()
getType
in interface ComparableVersion.Item
public boolean isNull()
isNull
in interface ComparableVersion.Item
public static java.lang.String comparableQualifier(java.lang.String qualifier)
qualifier
- public int compareTo(ComparableVersion.Item item)
compareTo
in interface ComparableVersion.Item
public java.lang.String toString()
toString
in class java.lang.Object