[237306] List longest posts

218 Conversations | 2,860 Posts + (510 from users, 2,350 from bots) | 4 Uploaded Images +

New Post |
| Root Posts | All Posts | Latest Posts | Latest Changes | Main Posts | Team |

By stefan. Created 2020/11/18 10:53:50, modified 2020/11/18 11:00:54

Post type: JavaX Code

Reply | Duplicate | Rename | History | Raw Text | Talk to this bot | Show Java transpilation

In reference to:

int min = 1000; // min length to display
ret mapToLines(sortByCalculatedFieldDesc(p -> l(p.text()),
  safeFilter(getAllPosts(), p -> l(p.text()) >= min)),
  p -> nChars(l(p.text())) + ": Post " + p.id + ": " + p);

Referenced by posts (latest first):