Package de.xima.fc.stage
Class LocalVariables.L1<X1>
- java.lang.Object
-
- de.xima.fc.stage.LocalVariables.L1<X1>
-
- Type Parameters:
X1
- The first local variable
- Enclosing class:
- LocalVariables
public static final class LocalVariables.L1<X1> extends Object
A set of one 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 <X2> LocalVariables.L2<X1,X2>
next(X2 x2)
<X2,R>
StageChain<LocalVariables.L2<X1,X2>,R>nextChain(StageChain<X2,R> x2)
<X2> CompletionStage<LocalVariables.L2<X1,X2>>
nextStage(CompletionStage<X2> x2)
<X1> LocalVariables.L1<X1>
x1(X1 x1)
Replaces the first variable with the given value.<X1,R>
StageChain<LocalVariables.L1<X1>,R>x1Chain(StageChain<X1,R> x1)
Replaces the first variable with the given value.<X1> CompletionStage<LocalVariables.L1<X1>>
x1Stage(CompletionStage<X1> x1)
Replaces the first variable with the given value.
-
-
-
Field Detail
-
x1
public final X1 x1
The first local variable
-
-
Method Detail
-
next
public <X2> LocalVariables.L2<X1,X2> next(X2 x2)
- Type Parameters:
X2
- Type of the next local variable to add.- Parameters:
x2
- The next local variable to add.- Returns:
- A set of local variables which includes the new one.
-
nextChain
public <X2,R> StageChain<LocalVariables.L2<X1,X2>,R> nextChain(StageChain<X2,R> x2)
- Type Parameters:
X2
- Type of the next local variable to add.R
- Type of the expected eventual return result of the chain.- Parameters:
x2
- 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 <X2> CompletionStage<LocalVariables.L2<X1,X2>> nextStage(CompletionStage<X2> x2)
- Type Parameters:
X2
- Type of the next next local variable to add.- Parameters:
x2
- 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.L1<X1> 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.L1<X1>,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.L1<X1>> 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.
-
-