public final class CharacterRange extends Object implements ICCCharacter
| Constructor and Description |
|---|
CharacterRange(char l,
char r) |
CharacterRange(Token t,
char l,
char r) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn() |
char |
getLeft() |
int |
getLine() |
char |
getRight() |
boolean |
isInRange(char c) |
boolean |
isSubRangeOf(CharacterRange r2) |
void |
setLeft(char left) |
void |
setRight(char right) |
public int getLine()
public int getColumn()
public char getLeft()
public void setLeft(char left)
left - the left to setpublic char getRight()
public void setRight(char right)
right - the right to setpublic boolean isInRange(char c)
public boolean isSubRangeOf(@Nonnull CharacterRange r2)
Copyright © 2017–2022 Philip Helger. All rights reserved.