[
https://issues.apache.org/jira/browse/JEXL-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069998#comment-16069998
]
Henri Biestro commented on JEXL-234:
------------------------------------
The startsWith & endsWIth methods can be overloaded; the operator resolution
will pick the most appropriate version based on signature.
This can be implemented easily in a user-specialized version of JexlArithmetic.
You are always welcome to submit a patch + tests.
> Extend application of operators startsWith and endsWith from String to
> CharSequence types
> -----------------------------------------------------------------------------------------
>
> Key: JEXL-234
> URL: https://issues.apache.org/jira/browse/JEXL-234
> Project: Commons JEXL
> Issue Type: Improvement
> Affects Versions: 3.1
> Reporter: Dmitri Blinov
> Priority: Minor
>
> It would be more useful to have operators {{=$}} and {{=^}} to work with
> objects that support {{CharSequence}} interface, like {{StringBuilder}},
> which would have more broad usage then just with {{String}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)