First time here? Check out the FAQ!
answered 4 years ago
Make your own iterator that stops adding elements when the cardinality gets too big.