返回下一个小数,耗尽时抛错。
@override double nextDouble() { if (_index >= _values.length) throw StateError('随机序列已耗尽'); return _values[_index++]; }