Skip to content

Extend CharSequence instead of String #10

@Fleshgrinder

Description

@Fleshgrinder

CharSequence is defined in all supported platform, and the functions only require the ability to access the individual Chars, and nothing from String, hence, it makes perfect sense to extend CharSequence instead of String. This will also allow users to define their own types that can be converted, since CharSequence can be implemented by user classes, whereas String cannot.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions