mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
[bug-66532] more performant way to iterate over codepoints.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0275daa5de
commit
a129086c84
@ -26,7 +26,7 @@ public class CodepointsUtil {
|
||||
/**
|
||||
* @param text to iterate over
|
||||
* @return iterator with Strings representing the codepoints
|
||||
* @see #primitiveIterator(String) a more performnt iterator
|
||||
* @see #primitiveIterator(String) a more performant iterator
|
||||
*/
|
||||
public static Iterator<String> iteratorFor(String text) {
|
||||
return text.codePoints()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user