Class VoidStub1<P1>

  • Type Parameters:
    P1 - the type of parameter 1

    public class VoidStub1<P1>
    extends MissionStub1<P1,​java.lang.Void>
    Represents a Mission which accepts one parameter and does not return a value
    • Method Detail

      • returning

        public <R> MissionStub1<P1,​R> returning​(java.lang.Class<R> returnType)
        Constructs a representation of Mission which accepts one parameter and returns a value
        Type Parameters:
        R - the return type
        Parameters:
        returnType - the type for return value of Mission being represented
        Returns:
        an instance of MissionStub1