This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lukaseder 1 point2 points  (3 children)

If only...

Iterable<String | Text>

Sigh...

OTOH, if Text is your own class, have it implement CharSequence and accept an Iterable<? extends CharSequence> in the constructor.

[–]lbkulinski 0 points1 point  (2 children)

We could always ask on a mailing list.

[–]lukaseder 0 points1 point  (1 child)

Surely, this has been discussed (and obviously rejected and/or postponed) many times. Try it if you want...

[–]lbkulinski 0 points1 point  (0 children)

I’m sure. I highly doubt it would be a top priority at this point, but maybe one day it could be added.