Class StateModel


  • public class StateModel
    extends Object
    The model of the state of an object: just the set of its updates.
    • Constructor Detail

      • StateModel

        public StateModel​(Stream<Update> state)
        Builds the model of the given state of an object.
        Parameters:
        state - the state
      • StateModel

        public StateModel()
    • Method Detail

      • toBean

        public Stream<Update> toBean()
        Yields the updates having this model.
        Returns:
        the updates