| Package | Description |
|---|---|
| dev.dejvokep.boostedyaml.dvs | |
| dev.dejvokep.boostedyaml.dvs.segment |
| Modifier and Type | Method and Description |
|---|---|
Segment |
Pattern.getPart(int index)
Returns segment at the given index (from the most significant one on the left).
|
Segment |
Pattern.getPart(int index)
Returns segment at the given index (from the most significant one on the left).
|
| Constructor and Description |
|---|
Pattern(Segment... segments)
Initializes the pattern with the given segments.
|
Pattern(Segment... segments)
Initializes the pattern with the given segments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LiteralSegment
Represents an immutable segment constructed directly from an array of elements.
|
class |
RangeSegment
Represents an immutable segment constructed from an integer range.
|
| Modifier and Type | Method and Description |
|---|---|
static Segment |
Segment.literal(String... elements)
Creates a segment with the given elements.
|
static Segment |
Segment.literal(String... elements)
Creates a segment with the given elements.
|
static Segment |
Segment.range(int start,
int end)
Creates a segment from the given range.
|
static Segment |
Segment.range(int start,
int end)
Creates a segment from the given range.
|
static Segment |
Segment.range(int start,
int end,
int step)
Creates a segment from the given range.
|
static Segment |
Segment.range(int start,
int end,
int step)
Creates a segment from the given range.
|
static Segment |
Segment.range(int start,
int end,
int step,
int fill)
Creates a segment from the given range.
|
static Segment |
Segment.range(int start,
int end,
int step,
int fill)
Creates a segment from the given range.
|
Copyright © 2022. All rights reserved.