- Type Parameters:
FirstType
- Type of the first object in the pair.
SecondType
- Type of the second object in the pair.
- All Superinterfaces:
- Pair<FirstType,SecondType>, java.io.Serializable, Weighted
- All Known Subinterfaces:
- WeightedInputOutputPair<InputType,OutputType>
- All Known Implementing Classes:
- DefaultWeightedInputOutputPair, DefaultWeightedPair
public interface WeightedPair<FirstType,SecondType>
extends Pair<FirstType,SecondType>, Weighted
The WeightedPair
interface defines an extension of a normal
Pair
that includes an additional weight.
- Since:
- 2.0
- Author:
- Justin Basilico