Spring Integration

org.springframework.integration.util
Class AcceptOnceCollectionFilter<T>

java.lang.Object
  extended by org.springframework.integration.util.AcceptOnceCollectionFilter<T>
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
Author:
Mark Fisher

Constructor Summary
AcceptOnceCollectionFilter()
           
 
Method Summary
 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
 

Constructor Detail

AcceptOnceCollectionFilter

public AcceptOnceCollectionFilter()
Method Detail

filter

public java.util.Collection<T> filter(java.util.Collection<T> unfilteredElements)
Specified by:
filter in interface CollectionFilter<T>

Spring Integration