Package aQute.bnd.version.maven
Class ComparableVersion.LongItem
java.lang.Object
aQute.bnd.version.maven.ComparableVersion.LongItem
- All Implemented Interfaces:
ComparableVersion.Item
- Enclosing class:
- ComparableVersion
Represents a numeric item in the version item list that can be
represented with a long.
-
Field Summary
FieldsFields inherited from interface aQute.bnd.version.maven.ComparableVersion.Item
BIGINTEGER_ITEM, INT_ITEM, LIST_ITEM, LONG_ITEM, STRING_ITEM
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
private final long value
-
-
Constructor Details
-
LongItem
LongItem(String str)
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in interfaceComparableVersion.Item
-
isNull
public boolean isNull()- Specified by:
isNull
in interfaceComparableVersion.Item
-
compareTo
- Specified by:
compareTo
in interfaceComparableVersion.Item
-
equals
-
hashCode
public int hashCode() -
toString
-