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>>
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandleExtractor
public HandleExtractor()
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()