public class BracketPair extends Object
| Modifier and Type | Field and Description |
|---|---|
static BracketPair |
ANGLES
The angle brackets pair: <>.
|
static BracketPair |
BRACES
The braces pair: {}.
|
static BracketPair |
BRACKETS
The square brackets pair: [].
|
static BracketPair |
PARENTHESES
The parentheses pair: ().
|
| Constructor and Description |
|---|
BracketPair(char open,
char close)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClose()
Gets the close bracket character.
|
String |
getOpen()
Gets the open bracket character.
|
String |
toString() |
public static final BracketPair PARENTHESES
public static final BracketPair BRACKETS
public static final BracketPair BRACES
public static final BracketPair ANGLES
3.0.5