yegor256 / cactoos

Object-Oriented Java primitives, as an alternative to Google Guava and Apache Commons
https://www.cactoos.org
MIT License
736 stars 163 forks source link

Let's implement a Multiline Text #1704

Open fabriciofx opened 10 months ago

fabriciofx commented 10 months ago

Let's implement a Multiline Text which gets a big text and breaks it in lines (according a limit of line length) and output a Interable<Text>.

@victornoel WDYT?

victornoel commented 9 months ago

@fabriciofx so it would be new MultilineText(Text txt, int limit) and the class implements Iterable<Text>, correct?

fabriciofx commented 9 months ago

@victornoel Yes, correct. WDYT?

victornoel commented 9 months ago

@fabriciofx sure, why not, I'm not sure if 0crat is still alive though, let's see…

victornoel commented 9 months ago

@0crat in