Class VoidStub2<P1,​P2>

  • Type Parameters:
    P1 - the type of parameter 1
    P2 - the type of parameter 2

    public class VoidStub2<P1,​P2>
    extends MissionStub2<P1,​P2,​java.lang.Void>
    Represents a Mission which accepts two parameters and does not return a value
    • Method Detail

      • returning

        public <R> MissionStub2<P1,​P2,​R> returning​(java.lang.Class<R> returnType)
        Constructs a representation of Mission which accepts two parameters 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 MissionStub2