gov.sandia.cognition.util
Interface WeightedPair<FirstType,SecondType>

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>, 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

Method Summary
 
Methods inherited from interface gov.sandia.cognition.util.Pair
getFirst, getSecond
 
Methods inherited from interface gov.sandia.cognition.util.Weighted
getWeight