RFR: 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex) [v4]

Raffaello Giulietti rgiulietti at openjdk.org
Wed Mar 1 16:24:46 UTC 2023


> Add an `indexOf()` variant allowing to specify both a lower and an upper bound on the search.

Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:

  8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/12600/files
  - new: https://git.openjdk.org/jdk/pull/12600/files/d627e558..1eca562b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12600&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12600&range=02-03

  Stats: 176 lines in 4 files changed: 35 ins; 78 del; 63 mod
  Patch: https://git.openjdk.org/jdk/pull/12600.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12600/head:pull/12600

PR: https://git.openjdk.org/jdk/pull/12600


More information about the core-libs-dev mailing list