Skip to content

Commit 0f50ec2

Browse files
committed
ICU-23056 Fix ICU4J public API release status tags for Segmenter files
1 parent 2362266 commit 0f50ec2

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

icu4j/main/core/src/main/java/com/ibm/icu/segmenter/LocalizedSegmenter.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Performs segmentation according to the rules defined for the locale.
12+
*
13+
* @draft ICU 78
1214
*/
1315
public class LocalizedSegmenter implements Segmenter {
1416

@@ -62,9 +64,25 @@ private LocalizedSegmenter(ULocale locale, SegmentationType segmentationType) {
6264
* @draft ICU 78
6365
*/
6466
public enum SegmentationType {
67+
68+
/**
69+
* @draft ICU 78
70+
*/
6571
GRAPHEME_CLUSTER,
72+
73+
/**
74+
* @draft ICU 78
75+
*/
6676
WORD,
77+
78+
/**
79+
* @draft ICU 78
80+
*/
6781
LINE,
82+
83+
/**
84+
* @draft ICU 78
85+
*/
6886
SENTENCE,
6987
}
7088

icu4j/main/core/src/main/java/com/ibm/icu/segmenter/Segment.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,22 @@
1111
* @draft ICU 78
1212
*/
1313
public class Segment {
14+
15+
/**
16+
* @draft ICU 78
17+
*/
1418
public final int start;
19+
20+
/**
21+
* @draft ICU 78
22+
*/
1523
public final int limit;
24+
25+
/**
26+
* @draft ICU 78
27+
*/
1628
public final int ruleStatus = 0;
29+
1730
private final CharSequence source;
1831

1932
Segment(int start, int limit, CharSequence source) {

icu4j/main/core/src/main/java/com/ibm/icu/segmenter/Segments.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,19 @@ default IntStream boundaries() {
158158
// Inner enums/classes in common for other inner classes
159159
//
160160

161+
/**
162+
* @draft ICU 78
163+
*/
161164
enum IterationDirection {
165+
166+
/**
167+
* @draft ICU 78
168+
*/
162169
FORWARDS,
170+
171+
/**
172+
* @draft ICU 78
173+
*/
163174
BACKWARDS,
164175
}
165176
}

0 commit comments

Comments
 (0)