Package org.exoplatform.container
Class DependencyStack
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.AbstractSequentialList<E>
-
- java.util.LinkedList<Dependency>
-
- org.exoplatform.container.DependencyStack
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Dependency>,Collection<Dependency>,Deque<Dependency>,List<Dependency>,Queue<Dependency>
public class DependencyStack extends LinkedList<Dependency>
This class is used to be able to manage properly use cases where the constructor or the methods used to add and create plugin call {{getComponentInstanceOfType}} instead of properly adding it in the constructor directly- Version:
- $Id$
- Author:
- Nicolas Filotto
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description DependencyStack(ComponentTask<?> task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Dependency dep)-
Methods inherited from class java.util.LinkedList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
-
Methods inherited from class java.util.AbstractSequentialList
iterator
-
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
-
-
-
Constructor Detail
-
DependencyStack
public DependencyStack(ComponentTask<?> task)
-
-
Method Detail
-
add
public boolean add(Dependency dep)
- Specified by:
addin interfaceCollection<Dependency>- Specified by:
addin interfaceDeque<Dependency>- Specified by:
addin interfaceList<Dependency>- Specified by:
addin interfaceQueue<Dependency>- Overrides:
addin classLinkedList<Dependency>
-
-