Class StateModel

java.lang.Object
io.hotmoka.network.updates.StateModel

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

  • Constructor Details

    • StateModel

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

      public StateModel()
  • Method Details

    • toBean

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