Hello. While reading the javadoc of CollationElementIterator I found a strange colon in the example.
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/text/CollationElementIterator.java#L87 String testString = "This is a test"; Collator col = Collator.getInstance(); if (col instanceof RuleBasedCollator) { RuleBasedCollator ruleBasedCollator = (RuleBasedCollator)col; CollationElementIterator collationElementIterator = ruleBasedCollator.getCollationElementIterator(testString); int primaryOrder = CollationElementIterator.primaryOrder(collationElementIterator.next()); : } Does it mean something? It was added under https://bugs.openjdk.java.net/browse/JDK-6486695 Andrey Turbanov