- Type Parameters:
TYPE
-
- All Implemented Interfaces:
- Iterable<TYPE>, Collection<TYPE>, List<TYPE>
public class SortedAttributeList<TYPE>
extends AbstractList<TYPE>
SortedAttributeList is a list of attributes, maintained sorted, as per prov-xml schema:
prov:location, prov:role, prov:type, prov:value, and others.
Adding an element to the list with .add(element) or .add(index,element) adds element as
the last attribute of its kind in the list. Furthermore, the SortedAttributeList ensures that
there is a single prov:value attribute.
- Author:
- lavm