Class CmdCheck

  • All Implemented Interfaces:
    Cmd

    public class CmdCheck
    extends Object
    implements Cmd
    A Check command takes a given proposition and asks the Session to prove it. The apply method returns when a result is available; the valid field contains the result.
    • Method Detail

      • apply

        public void apply​(@GuardedBy("<self>") Session s)
        For documentation, read the class overview.
        Specified by:
        apply in interface Cmd
        Parameters:
        s - a session in which to run this command
      • toString

        @SideEffectFree
        public String toString​(@GuardSatisfied CmdCheck this)
        Description copied from interface: Cmd
        Returns a string for debugging only.
        Specified by:
        toString in interface Cmd
        Overrides:
        toString in class Object
        Returns:
        a string for debugging only