Package eu.bandm.tools.ramus.ogma
Interface State.Projection
- Enclosing class:
State
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for projections that extract data from a state.
- See Also:
-
Method Summary
-
Method Details
-
apply
Extract data from a state.Extraction means that the resulting data should either be the accumulator value of the given state, or the value associated with some key.
- Specified by:
applyin interfaceFunction<State,Data> - Parameters:
state- the state- Returns:
- the extracted data
- Throws:
NullPointerException- ifstateis null
-