- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface EndpointWeightTransition
Computes the weight of the given
Endpoint
using the given
currentStep
and
totalSteps
.
-
Method Summary
-
Method Details
-
-
compute
int compute(
Endpoint endpoint,
int currentStep,
int totalSteps)
Returns the computed weight of the given
Endpoint
using the given
currentStep
and
totalSteps
.