Package aQute.bnd.version.maven
Class ComparableVersion.ListItem
- All Implemented Interfaces:
ComparableVersion.Item,Serializable,Cloneable,Iterable<ComparableVersion.Item>,Collection<ComparableVersion.Item>,List<ComparableVersion.Item>,RandomAccess
- Enclosing class:
- ComparableVersion
private static class ComparableVersion.ListItem
extends ArrayList<ComparableVersion.Item>
implements ComparableVersion.Item
Represents a version list item. This class is used both for the global
item list and for sub-lists (which start with '-(number)' in the version
specification).
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCountFields inherited from interface aQute.bnd.version.maven.ComparableVersion.Item
BIGINTEGER_ITEM, INT_ITEM, LIST_ITEM, LONG_ITEM, STRING_ITEM -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ListItem
private ListItem()
-
-
Method Details
-
getType
public int getType()- Specified by:
getTypein interfaceComparableVersion.Item
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceComparableVersion.Item
-
normalize
void normalize() -
compareTo
- Specified by:
compareToin interfaceComparableVersion.Item
-
toString
- Overrides:
toStringin classAbstractCollection<ComparableVersion.Item>
-