/** * Creates a new instance of {@code DefaultWeightedPair}. * * @param first The first object in the pair. * @param second The second object in the pair. * @param weight The weight for the pair. */ public DefaultWeightedPair( final FirstType first, final SecondType second, final double weight) { super(first, second); this.setWeight(weight); }
/** * Creates a new instance of {@code DefaultWeightedPair}. * * @param first The first object in the pair. * @param second The second object in the pair. * @param weight The weight for the pair. */ public DefaultWeightedPair( final FirstType first, final SecondType second, final double weight) { super(first, second); this.setWeight(weight); }
/** * Creates a new instance of {@code DefaultWeightedPair}. * * @param first The first object in the pair. * @param second The second object in the pair. * @param weight The weight for the pair. */ public DefaultWeightedPair( final FirstType first, final SecondType second, final double weight) { super(first, second); this.setWeight(weight); }