public int size(int bound) { return IterUtil.sizeOf(_iterable, _size <= bound ? _size : bound); }
/** * Return {@code size}, unless the nested iterable is smaller than {@code size}; in that case, * returns the iterable's size. */ public int size() { return IterUtil.sizeOf(_iterable, _size); }