Located in compilation unit of org.
| Modifier and Type | Field and Description |
|---|---|
| private final SegmentOps | |
| private final SegmentOps |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public char | |
| public Either | createEmptySeg()
Implements org. Creates an empty segment. |
| public String | |
| public Optional | joinSeg(Either<LSeg, RSeg> left, Either<LSeg, RSeg> right)
Implements org. Joins two consecutive segments together into one or |
| public Optional | joinStyle(Either<LStyle, RStyle> left, Either<LStyle, RStyle> right)
Overrides default org. Joins two consecutive styles together into one or |
| public int | |
| public Either | subSequence(Either<LSeg, RSeg> seg, int start, int end)
Implements org.
|
| public Either | subSequence(Either<LSeg, RSeg> seg, int start)
Implements org.
|
| lOps | back to summary |
|---|---|
| private final SegmentOps<LSeg, LStyle> lOps | |
| rOps | back to summary |
|---|---|
| private final SegmentOps<RSeg, RStyle> rOps | |
| EitherStyledSegmentOps | back to summary |
|---|---|
| pack-priv EitherStyledSegmentOps(SegmentOps<LSeg, LStyle> lOps, SegmentOps<RSeg, RStyle> rOps) | |
| charAt | back to summary |
|---|---|
| public char charAt(Either<LSeg, RSeg> seg, int index) Implements org.
| |
| createEmptySeg | back to summary |
|---|---|
| public Either Implements org. Doc from org. Creates an empty segment. This method should return the same object for better performance and memory usage. | |
| getText | back to summary |
|---|---|
| public String getText(Either<LSeg, RSeg> seg) Implements org.
| |
| joinSeg | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Joins two consecutive segments together into one or
| |
| joinStyle | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Joins two consecutive styles together into one or
| |
| length | back to summary |
|---|---|
| public int length(Either<LSeg, RSeg> seg) Implements org.
| |
| subSequence | back to summary |
|---|---|
| public Either Implements org.
| |
| subSequence | back to summary |
|---|---|
| public Either Implements org.
| |