/** * Sets the durations of the parcel pickup and delivery operations. * @param durations The supplier to draw the durations from. * @return This, as per the builder pattern. */ public Builder serviceDurations(StochasticSupplier<Long> durations) { return pickupDurations(durations).deliveryDurations(durations); }