Constructor and Description |
---|
RangeBuilder()
Default constructor with empty range.
|
RangeBuilder(char ch)
Constructor with a single char.
|
RangeBuilder(char low, char high)
Constructor with a single range.
|
RangeBuilder(int n)
Constructor with a single number.
|
RangeBuilder(int low, int high)
Constructor with a single range.
|
Modifier and Type | Method and Description |
---|---|
RangeBuilder |
addRange(char ch)
Add range with a single char.
|
RangeBuilder |
addRange(char low, char high)
Add one more range.
|
RangeBuilder |
addRange(int n)
Add range with a single number.
|
RangeBuilder |
addRange(int low, int high)
Add one more range.
|
Range |
create()
Creates a Range instance based on added ranges.
|
public RangeBuilder()
public RangeBuilder(int low, int high)
low
- low boundary of the range
high
- high boundary of the range
public RangeBuilder(int n)
n
- a single number
public RangeBuilder(char low, char high)
low
- low boundary of the range
high
- high boundary of the range
public RangeBuilder(char ch)
ch
- a single char
public RangeBuilder addRange(int low, int high)
low
- low boundary of the range
high
- high boundary of the range
public RangeBuilder addRange(char low, char high)
low
- low boundary of the range
high
- high boundary of the range
public RangeBuilder addRange(int n)
n
- a single number
public RangeBuilder addRange(char ch)
ch
- a single char
Copyright © 1998–2022 iText Group NV. All rights reserved.