int average(int defaultValueIfEmpty) { if (_elements.isEmpty) { return defaultValueIfEmpty; } else { return _elements.average.floor(); } }