public abstract static class StateSpec.Cases.WithDefault<ResultT> extends java.lang.Object implements StateSpec.Cases<ResultT>
StateSpec.Cases.WithDefault<ResultT>
Constructor and Description |
---|
WithDefault() |
Modifier and Type | Method and Description |
---|---|
ResultT |
dispatchBag(Coder<?> elementCoder) |
ResultT |
dispatchCombining(Combine.CombineFn<?,?,?> combineFn,
Coder<?> accumCoder) |
protected abstract ResultT |
dispatchDefault() |
ResultT |
dispatchMap(Coder<?> keyCoder,
Coder<?> valueCoder) |
ResultT |
dispatchMultimap(Coder<?> keyCoder,
Coder<?> valueCoder) |
ResultT |
dispatchSet(Coder<?> elementCoder) |
ResultT |
dispatchValue(Coder<?> valueCoder) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispatchOrderedList
protected abstract ResultT dispatchDefault()
public ResultT dispatchValue(Coder<?> valueCoder)
dispatchValue
in interface StateSpec.Cases<ResultT>
public ResultT dispatchBag(Coder<?> elementCoder)
dispatchBag
in interface StateSpec.Cases<ResultT>
public ResultT dispatchCombining(Combine.CombineFn<?,?,?> combineFn, Coder<?> accumCoder)
dispatchCombining
in interface StateSpec.Cases<ResultT>
public ResultT dispatchMap(Coder<?> keyCoder, Coder<?> valueCoder)
dispatchMap
in interface StateSpec.Cases<ResultT>
public ResultT dispatchSet(Coder<?> elementCoder)
dispatchSet
in interface StateSpec.Cases<ResultT>
public ResultT dispatchMultimap(Coder<?> keyCoder, Coder<?> valueCoder)
dispatchMultimap
in interface StateSpec.Cases<ResultT>