ResultType
- the type of the results heldpublic abstract class ComposedResult<KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> extends Object implements ComputeResult, Iterable<ResultType>
ComputeResult
for a composed computation. Each ComposedResult
holds a list of
ComputeResult
that may be generated.Constructor and Description |
---|
ComposedResult() |
Modifier and Type | Method and Description |
---|---|
Iterator<ResultType> |
iterator() |
static <KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> |
of(Map<? extends KeyType,? extends ResultType> resultMap) |
abstract com.google.common.collect.ImmutableMap<KeyType,ResultType> |
resultMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public abstract com.google.common.collect.ImmutableMap<KeyType,ResultType> resultMap()
public Iterator<ResultType> iterator()
iterator
in interface Iterable<ResultType extends ComputeResult>
public static <KeyType extends ComputeKey<ResultType>,ResultType extends ComputeResult> ComposedResult<KeyType,ResultType> of(Map<? extends KeyType,? extends ResultType> resultMap)