mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-04 21:15:35 +00:00
ICU-22789 Add design option to TODO comment
This commit is contained in:
parent
1c59eafb4a
commit
c1ca1f8877
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ public interface Segments {
|
|||
// 2) make Segment an interface (getSource, getStart, getLimit, getRuleStatus, newSegment), and
|
||||
// maybe an abstract class that implements the interface, maybe with a default method impl
|
||||
// for convenience for getting (allocating & returning) the subsequence
|
||||
// 3) do not link the multiple Segment objects and the single Segments object via a field, and
|
||||
// instead provide a function on Segments that can convert each Segment into a CharSequence
|
||||
class Segment {
|
||||
public final int start;
|
||||
public final int limit;
|
||||
|
|
Loading…
Add table
Reference in a new issue