Interface WindowContents<S extends State,IN>
-
- Type Parameters:
S
- The initial state type.IN
- The data in state.
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WindowContents<S extends State,IN> extends Serializable
An abstraction for transforming anyState
type into an iterable over its contents.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <IN,OUT>
WindowContents<AggregatingState<IN,OUT>,OUT>aggregatingState()
Iterable<IN>
contents(S state)
static <T> WindowContents<ListState<T>,T>
listState()
static <T> WindowContents<ReducingState<T>,T>
reducingState()
-
-
-
Method Detail
-
reducingState
static <T> WindowContents<ReducingState<T>,T> reducingState()
-
aggregatingState
static <IN,OUT> WindowContents<AggregatingState<IN,OUT>,OUT> aggregatingState()
-
listState
static <T> WindowContents<ListState<T>,T> listState()
-
-