Additional top-level classes in compilation unit: EitherSegmentOps, EitherStyledSegmentOps.
| Modifier and Type | Method and Description |
|---|---|
| public char | |
| public SEG | |
| public static <LSeg, RSeg, Style> SegmentOps | either(SegmentOps<LSeg, Style> lOps, SegmentOps<RSeg, Style> rOps)
Returns a |
| public static <LSeg, RSeg, Style> SegmentOps | either(SegmentOps<LSeg, Style> lOps, SegmentOps<RSeg, Style> rOps, BiFunction<Style, Style, Optional<Style>> mergeStyle)
Returns a |
| public static <LSeg, LStyle, RSeg, RStyle> SegmentOps | eitherStyles(SegmentOps<LSeg, LStyle> lOps, SegmentOps<RSeg, RStyle> rOps)
Returns a |
| public String | |
| public Optional | joinSeg(SEG currentSeg, SEG nextSeg)
Joins two consecutive segments together into one or |
| public default Optional | joinStyle(S currentStyle, S nextStyle)
Joins two consecutive styles together into one or |
| public int | |
| public default <R> SegmentOps | or(SegmentOps<R, S> rOps)
Returns a |
| public default <RSeg, RStyle> SegmentOps | orStyled(SegmentOps<RSeg, RStyle> rOps)
Returns a |
| public static <S> TextOps | styledTextOps()
Creates a |
| public static <S> TextOps | |
| public SEG | |
| public SEG |
| charAt | back to summary |
|---|---|
| public char charAt(SEG seg, int index) | |
| createEmptySeg | back to summary |
|---|---|
| public SEG createEmptySeg() Creates an empty segment. This method should return the same object for better performance and memory usage. | |
| either | back to summary |
|---|---|
| public static <LSeg, RSeg, Style> SegmentOps Returns a Note consecutive styles will not be merged. | |
| either | back to summary |
|---|---|
| public static <LSeg, RSeg, Style> SegmentOps Returns a | |
| eitherStyles | back to summary |
|---|---|
| public static <LSeg, LStyle, RSeg, RStyle> SegmentOps Returns a Note consecutive styles will not be merged. | |
| getText | back to summary |
|---|---|
| public String getText(SEG seg) | |
| joinSeg | back to summary |
|---|---|
| public Optional Joins two consecutive segments together into one or | |
| joinStyle | back to summary |
|---|---|
| public default Optional Joins two consecutive styles together into one or | |
| length | back to summary |
|---|---|
| public int length(SEG seg) | |
| or | back to summary |
|---|---|
| public default <R> SegmentOps Returns a | |
| orStyled | back to summary |
|---|---|
| public default <RSeg, RStyle> SegmentOps Returns a | |
| styledTextOps | back to summary |
|---|---|
| public static <S> TextOps Creates a | |
| styledTextOps | back to summary |
|---|---|
| public static <S> TextOps | |
| subSequence | back to summary |
|---|---|
| public SEG subSequence(SEG seg, int start, int end) | |
| subSequence | back to summary |
|---|---|
| public SEG subSequence(SEG seg, int start) | |