Class AcceptOnceCollectionFilter<T>
java.lang.Object
org.springframework.integration.util.AcceptOnceCollectionFilter<T>
- Type Parameters:
T
- the collection element type.
- All Implemented Interfaces:
CollectionFilter<T>
An implementation of
CollectionFilter
that remembers the elements passed in
the previous invocation in order to avoid returning those elements more than once.- Since:
- 2.1
- Author:
- Mark Fisher
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AcceptOnceCollectionFilter
public AcceptOnceCollectionFilter()
-
-
Method Details
-
filter
- Specified by:
filter
in interfaceCollectionFilter<T>
-