[ 
https://issues.apache.org/jira/browse/CALCITE-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718720#comment-17718720
 ] 

Julian Hyde commented on CALCITE-5682:
--------------------------------------

Those {{String str}} args should probably be {{ByteString str}}. And {{int ch}} 
should be {{byte b}}.

> In ByteString, add lastIndexOf method
> -------------------------------------
>
>                 Key: CALCITE-5682
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5682
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Joey Moore
>            Priority: Minor
>
> In ByteString, add these methods
>  * int lastIndexOf(int ch)
>  * int lastIndexOf(int ch, int fromIndex)
>  * int lastIndexOf(String str)
>  * int lastIndexOf(String str, int fromIndex)
> These should have the same functionality as the like named [String 
> functions|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#lastIndexOf(int)]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to