@FunctionalInterface public interface KeyComposer<Key1 extends ComputeKey<Result1>,Result1 extends ComputeResult,Key2 extends ComputeKey<?>> extends Composer<Key1,Result1>
Composer
that has output key restrictionsModifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<Key2> |
transitionWith(Key1 key,
Result1 result) |
com.google.common.collect.ImmutableSet<Key2> transitionWith(Key1 key, Result1 result) throws Exception
transitionWith
in interface Composer<Key1 extends ComputeKey<Result1>,Result1 extends ComputeResult>
key
- the key from the base computationresult
- the result corresponding to the key of the base computationException
- as appropriate when computing dependencies.