com.hammurapi.eventbus
Class HandleExtractor<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>

Show UML class diagram
java.lang.Object
  extended by com.hammurapi.eventbus.HandleExtractor<E,P,C,K,H,S>
Type Parameters:
V -
P -
C -
K -

public class HandleExtractor<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
extends Object

Extracts event from handle. This is a helper class to construct bus stores.


Constructor Summary
HandleExtractor()
           
 
Method Summary
 ComparisonResult compareTo( other)
           
 E extract(S context, Map<S,Map<,? super E>> cache, H... obj)
           
 double getCost()
           
 boolean isContextDependent()
           
 Set<Integer> parameterIndices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleExtractor

public HandleExtractor()
Method Detail

parameterIndices

public Set<Integer> parameterIndices()

isContextDependent

public boolean isContextDependent()

extract

public E extract(S context,
                 Map<S,Map<,? super E>> cache,
                 H... obj)

compareTo

public ComparisonResult compareTo( other)

getCost

public double getCost()