@Nullable public EigrpMetric build() { Double delay = _delay == null ? _defaultDelay : _delay; Double bandwidth = _bandwidth == null ? _defaultBandwidth : _bandwidth; if (bandwidth == null || bandwidth == 0D || delay == null || _mode == null) { return null; } return new EigrpMetric(bandwidth, delay, _mode); }
return new EigrpMetric(classicBandwidth, namedBandwidth, classicDelay, namedDelay, _mode);