public class CharacterClassTransitionLabel extends Object implements TransitionLabel, Comparable<CharacterClassTransitionLabel>
TransitionLabel.TransitionTypeHORIZONTAL_TAB, MAX_16UNICODE, MAX_DIGIT, MAX_SPACE, MAX_WORD1, MAX_WORD2, MAX_WORD3, MIN_16UNICODE, MIN_DIGIT, MIN_SPACE, MIN_WORD1, MIN_WORD2, MIN_WORD3, VERTICAL_TAB| Constructor and Description |
|---|
CharacterClassTransitionLabel() |
CharacterClassTransitionLabel(RangeSet ranges) |
CharacterClassTransitionLabel(String word) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CharacterClassTransitionLabel cctl) |
TransitionLabel |
complement() |
TransitionLabel |
copy() |
boolean |
equals(Object o) |
String |
getSymbol() |
Set<String> |
getSymbols() |
TransitionLabel.TransitionType |
getTransitionType() |
int |
hashCode() |
TransitionLabel |
intersection(TransitionLabel tl) |
boolean |
isEmpty() |
boolean |
matches(String word) |
boolean |
matches(TransitionLabel tl) |
static RangeSet |
predefinedRangeSetDigits() |
static RangeSet |
predefinedRangeSetHorizontalTab() |
static RangeSet |
predefinedRangeSetVerticalTab() |
static RangeSet |
predefinedRangeSetWhiteSpaces() |
static RangeSet |
predefinedRangeSetWordCharacters() |
static RangeSet |
predefinedRangeWildcard() |
String |
toString() |
TransitionLabel |
union(TransitionLabel tl) |
static CharacterClassTransitionLabel |
wildcardLabel() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitmainpublic CharacterClassTransitionLabel()
public CharacterClassTransitionLabel(String word)
public CharacterClassTransitionLabel(RangeSet ranges)
public static CharacterClassTransitionLabel wildcardLabel()
public static RangeSet predefinedRangeWildcard()
public static RangeSet predefinedRangeSetDigits()
public static RangeSet predefinedRangeSetWhiteSpaces()
public static RangeSet predefinedRangeSetWordCharacters()
public static RangeSet predefinedRangeSetVerticalTab()
public static RangeSet predefinedRangeSetHorizontalTab()
public boolean matches(String word)
matches in interface TransitionLabelpublic boolean matches(TransitionLabel tl)
matches in interface TransitionLabelpublic TransitionLabel intersection(TransitionLabel tl)
intersection in interface TransitionLabelpublic TransitionLabel union(TransitionLabel tl)
union in interface TransitionLabelpublic TransitionLabel complement()
complement in interface TransitionLabelpublic boolean isEmpty()
isEmpty in interface TransitionLabelpublic String getSymbol()
getSymbol in interface TransitionLabelpublic TransitionLabel copy()
copy in interface TransitionLabelpublic TransitionLabel.TransitionType getTransitionType()
getTransitionType in interface TransitionLabelpublic int compareTo(CharacterClassTransitionLabel cctl)
compareTo in interface Comparable<CharacterClassTransitionLabel>Copyright © 2021. All rights reserved.