Package de.xima.fc.stage
Class LocalVariables.L2<X1,X2>
- java.lang.Object
-
- de.xima.fc.stage.LocalVariables.L2<X1,X2>
-
- Type Parameters:
X1
- The first local variableX2
- The second local variable
- Enclosing class:
- LocalVariables
public static final class LocalVariables.L2<X1,X2> extends Object
A set of two local variables.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
LocalVariables
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X3> LocalVariables.L3<X1,X2,X3>
next(X3 x3)
<X3,R>
StageChain<LocalVariables.L3<X1,X2,X3>,R>nextChain(StageChain<X3,R> x3)
<X3> CompletionStage<LocalVariables.L3<X1,X2,X3>>
nextStage(CompletionStage<X3> x3)
<X1> LocalVariables.L2<X1,X2>
x1(X1 x1)
Replaces the first variable with the given value.<X1,R>
StageChain<LocalVariables.L2<X1,X2>,R>x1Chain(StageChain<X1,R> x1)
Replaces the first variable with the given value.<X1> CompletionStage<LocalVariables.L2<X1,X2>>
x1Stage(CompletionStage<X1> x1)
Replaces the first variable with the given value.<X2> LocalVariables.L2<X1,X2>
x2(X2 x2)
Replaces the second variable with the given value.<X2,R>
StageChain<LocalVariables.L2<X1,X2>,R>x2Chain(StageChain<X2,R> x2)
Replaces the second variable with the given value.<X2> CompletionStage<LocalVariables.L2<X1,X2>>
x2Stage(CompletionStage<X2> x2)
Replaces the second variable with the given value.
-
-
-
Method Detail
-
next
public <X3> LocalVariables.L3<X1,X2,X3> next(X3 x3)
- Type Parameters:
X3
- Type of the next next local variable to add.- Parameters:
x3
- The next local variable to add.- Returns:
- A set of local variables which includes the new one.
-
nextChain
public <X3,R> StageChain<LocalVariables.L3<X1,X2,X3>,R> nextChain(StageChain<X3,R> x3)
- Type Parameters:
X3
- Type of the next next local variable to add.R
- Type of the expected eventual return result of the chain.- Parameters:
x3
- 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 <X3> CompletionStage<LocalVariables.L3<X1,X2,X3>> nextStage(CompletionStage<X3> x3)
- Type Parameters:
X3
- Type of the next next local variable to add.- Parameters:
x3
- 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.L2<X1,X2> 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.L2<X1,X2>,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.L2<X1,X2>> 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.L2<X1,X2> 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.L2<X1,X2>,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.L2<X1,X2>> 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.
-
-