Class OrderedItemContainer<T>
- java.lang.Object
-
- org.jboss.as.ee.component.interceptors.OrderedItemContainer<T>
-
public class OrderedItemContainer<T> extends Object
Container for an ordered list of object. Objects are added to the container, and can be sorted and retrieved viagetSortedItems()
. In order to prevent excessive sorts once the sort has been performed no new objects can be added. The sort is guaranteed to be stable, so adding multiple objects with the same priority means that they will be run in the order that they were added.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description OrderedItemContainer()
-