Key1
- the key type of the base computationResult1
- the result type of the base computation@FunctionalInterface public interface Composer<Key1,Result1>
GraphComputation
sModifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<? extends ComputeKey<?>> |
transitionWith(Key1 key,
Result1 result) |
com.google.common.collect.ImmutableSet<? extends ComputeKey<?>> transitionWith(Key1 key, Result1 result) throws Exception
key
- the key from the base computationresult
- the result corresponding to the key of the base computationException
- as appropriate when computing dependencies.