Class LocalVariables.L3<X1,​X2,​X3>

  • Type Parameters:
    X1 - The first local variable
    X2 - The second local variable
    X3 - The third local variable
    Enclosing class:
    LocalVariables

    public static final class LocalVariables.L3<X1,​X2,​X3>
    extends Object
    A set of three local variables.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    LocalVariables
    • Field Detail

      • x1

        public final X1 x1
        The first local variable
      • x2

        public final X2 x2
        The second local variable
      • x3

        public final X3 x3
        The third local variable
    • Method Detail

      • next

        public <X4> LocalVariables.L4<X1,​X2,​X3,​X4> next​(X4 x4)
        Type Parameters:
        X4 - Type of the next next local variable to add.
        Parameters:
        x4 - The next local variable to add.
        Returns:
        A set of local variables which includes the new one.
      • nextChain

        public <X4,​R> StageChain<LocalVariables.L4<X1,​X2,​X3,​X4>,​R> nextChain​(StageChain<X4,​R> x4)
        Type Parameters:
        X4 - Type of the next next local variable to add.
        R - Type of the expected eventual return result of the chain.
        Parameters:
        x4 - A completion stage that resolves to the next local variable to add.
        Returns:
        A completion stage that resolves to a set of local variables which includes the new one.
      • nextStage

        public <X4> CompletionStage<LocalVariables.L4<X1,​X2,​X3,​X4>> nextStage​(CompletionStage<X4> x4)
        Type Parameters:
        X4 - Type of the next next local variable to add.
        Parameters:
        x4 - A completion stage that resolves to the next local variable to add.
        Returns:
        A completion stage that resolves to a set of local variables which includes the new one.
      • x1

        public <X1> LocalVariables.L3<X1,​X2,​X3> x1​(X1 x1)
        Replaces the first variable with the given value.
        Type Parameters:
        X1 - Type of the new value for the first variable.
        Parameters:
        x1 - New value for the first variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x1Chain

        public <X1,​R> StageChain<LocalVariables.L3<X1,​X2,​X3>,​R> x1Chain​(StageChain<X1,​R> x1)
        Replaces the first variable with the given value.
        Type Parameters:
        X1 - Type of the new value for the first variable.
        Parameters:
        x1 - New value for the first variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x1Stage

        public <X1> CompletionStage<LocalVariables.L3<X1,​X2,​X3>> x1Stage​(CompletionStage<X1> x1)
        Replaces the first variable with the given value.
        Type Parameters:
        X1 - Type of the new value for the first variable.
        Parameters:
        x1 - New value for the first variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x2

        public <X2> LocalVariables.L3<X1,​X2,​X3> x2​(X2 x2)
        Replaces the second variable with the given value.
        Type Parameters:
        X2 - Type of the new value for the second variable.
        Parameters:
        x2 - New value for the second variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x2Chain

        public <X2,​R> StageChain<LocalVariables.L3<X1,​X2,​X3>,​R> x2Chain​(StageChain<X2,​R> x2)
        Replaces the second variable with the given value.
        Type Parameters:
        X2 - Type of the new value for the second variable.
        Parameters:
        x2 - New value for the second variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x2Stage

        public <X2> CompletionStage<LocalVariables.L3<X1,​X2,​X3>> x2Stage​(CompletionStage<X2> x2)
        Replaces the second variable with the given value.
        Type Parameters:
        X2 - Type of the new value for the second variable.
        Parameters:
        x2 - New value for the second variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x3

        public <X3> LocalVariables.L3<X1,​X2,​X3> x3​(X3 x3)
        Replaces the third variable with the given value.
        Type Parameters:
        X3 - Type of the new value for the third variable.
        Parameters:
        x3 - New value for the third variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x3Chain

        public <X3,​R> StageChain<LocalVariables.L3<X1,​X2,​X3>,​R> x3Chain​(StageChain<X3,​R> x3)
        Replaces the third variable with the given value.
        Type Parameters:
        X3 - Type of the new value for the third variable.
        Parameters:
        x3 - New value for the third variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x3Stage

        public <X3> CompletionStage<LocalVariables.L3<X1,​X2,​X3>> x3Stage​(CompletionStage<X3> x3)
        Replaces the third variable with the given value.
        Type Parameters:
        X3 - Type of the new value for the third variable.
        Parameters:
        x3 - New value for the third variable.
        Returns:
        A new set of local variables with the given variable replaced.