Class LocalVariables.L4<X1,​X2,​X3,​X4>

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

    public static final class LocalVariables.L4<X1,​X2,​X3,​X4>
    extends Object
    A set of four 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
      • x4

        public final X4 x4
        The fourth local variable
    • Method Detail

      • next

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

        public <X5,​R> StageChain<LocalVariables.L5<X1,​X2,​X3,​X4,​X5>,​R> nextChain​(StageChain<X5,​R> x5)
        Type Parameters:
        X5 - Type of the next next local variable to add.
        R - Type of the expected eventual return result of the chain.
        Parameters:
        x5 - 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 <X5> CompletionStage<LocalVariables.L5<X1,​X2,​X3,​X4,​X5>> nextStage​(CompletionStage<X5> x5)
        Type Parameters:
        X5 - Type of the next next local variable to add.
        Parameters:
        x5 - 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.L4<X1,​X2,​X3,​X4> 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.L4<X1,​X2,​X3,​X4>,​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.L4<X1,​X2,​X3,​X4>> 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.L4<X1,​X2,​X3,​X4> 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.L4<X1,​X2,​X3,​X4>,​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.L4<X1,​X2,​X3,​X4>> 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.L4<X1,​X2,​X3,​X4> 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.L4<X1,​X2,​X3,​X4>,​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.L4<X1,​X2,​X3,​X4>> 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.
      • x4

        public <X4> LocalVariables.L4<X1,​X2,​X3,​X4> x4​(X4 x4)
        Replaces the fourth variable with the given value.
        Type Parameters:
        X4 - Type of the new value for the fourth variable.
        Parameters:
        x4 - New value for the fourth variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x4Chain

        public <X4,​R> StageChain<LocalVariables.L4<X1,​X2,​X3,​X4>,​R> x4Chain​(StageChain<X4,​R> x4)
        Replaces the fourth variable with the given value.
        Type Parameters:
        X4 - Type of the new value for the fourth variable.
        Parameters:
        x4 - New value for the fourth variable.
        Returns:
        A new set of local variables with the given variable replaced.
      • x4Stage

        public <X4> CompletionStage<LocalVariables.L4<X1,​X2,​X3,​X4>> x4Stage​(CompletionStage<X4> x4)
        Replaces the fourth variable with the given value.
        Type Parameters:
        X4 - Type of the new value for the fourth variable.
        Parameters:
        x4 - New value for the fourth variable.
        Returns:
        A new set of local variables with the given variable replaced.