Class AcceptOnceCollectionFilter<T>

java.lang.Object
org.springframework.integration.util.AcceptOnceCollectionFilter<T>
Type Parameters:
T - the collection element type.
All Implemented Interfaces:
CollectionFilter<T>

public class AcceptOnceCollectionFilter<T>
extends java.lang.Object
implements 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
  • Constructor Summary

    Constructors 
    Constructor Description
    AcceptOnceCollectionFilter()  
  • Method Summary

    Modifier and Type Method Description
    java.util.Collection<T> filter​(java.util.Collection<T> unfilteredElements)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait