Skip to content

Commit

Permalink
Merge pull request #14 from JakeWharton/jw.readme.2023-01-23
Browse files Browse the repository at this point in the history
Update README with API changes
  • Loading branch information
cketti authored Jan 24, 2023
2 parents 6612327 + 0575799 commit 2363e53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,20 @@ Methods found in `java.lang.String`:
* `String.codePointCount(beginIndex, endIndex)`
* `String.offsetByCodePoints(index, codePointOffset)`

Methods found in `java.lang.StringBuilder`:
* `StringBuilder.appendCodePoint(codePoint)`

Methods found in `java.lang.Character`:
* `CodePoints.isValidCodePoint(codePoint)`
* `CodePoints.isBmpCodePoint(codePoint)`
* `CodePoints.isSupplementaryCodePoint(codePoint)`
* `CodePoints.charCount(codePoint)`
* `CodePoints.isSurrogate(char)`
* `CodePoints.isHighSurrogate(char)`
* `CodePoints.isLowSurrogate(char)`
* `CodePoints.isSurrogatePair(highSurrogate, lowSurrogate)`
* `CodePoints.highSurrogate(codePoint)`
* `CodePoints.lowSurrogate(codePoint)`
* `CodePoints.toCodePoint(highSurrogate, lowSurrogate)`
* `CodePoints.toChars(codePoint)`
* `CodePoints.toChars(codePoint, destination, offset)`

On the JVM the platform implementation is used. On all other platforms the
[implementation in this library](src/commonImplementation/kotlin) is used.
Expand Down

0 comments on commit 2363e53

Please sign in to comment.