org.iqual.chaplin
Class ElementSelector<E,S>

java.lang.Object
  extended by org.iqual.chaplin.ElementSelector<E,S>
All Implemented Interfaces:
ReplyTransformer<Iterable<E>,S>

public abstract class ElementSelector<E,S>
extends Object
implements ReplyTransformer<Iterable<E>,S>

Since:
21.11.2009 14:04:08
Author:
Zbynek Slajchrt

Constructor Summary
ElementSelector()
           
 
Method Summary
protected abstract  boolean selected(E element, S source)
           
 Object transform(Iterable<E> reply, S source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementSelector

public ElementSelector()
Method Detail

transform

public Object transform(Iterable<E> reply,
                        S source)
Specified by:
transform in interface ReplyTransformer<Iterable<E>,S>
Parameters:
reply - the reply being returned to the invoker
source - the message source (invoker)
Returns:
the transformed reply

selected

protected abstract boolean selected(E element,
                                    S source)


Copyright © 2009 iquality.org. All Rights Reserved.