You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Joey Moore (Jira)" <ji...@apache.org> on 2023/05/02 20:47:00 UTC
[jira] [Updated] (CALCITE-5682) In ByteString, add lastIndexOf method
[ https://issues.apache.org/jira/browse/CALCITE-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joey Moore updated CALCITE-5682:
--------------------------------
Description:
In ByteString, add these methods
* int lastIndexOf(Byte b)
* int lastIndexOf(Byte b, int fromIndex)
* int lastIndexOf(ByteString str)
* int lastIndexOf(ByteString 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)]
was:
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)]
> 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(Byte b)
> * int lastIndexOf(Byte b, int fromIndex)
> * int lastIndexOf(ByteString str)
> * int lastIndexOf(ByteString 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)