Package psiprobe.tokenizer
Class TokenizerSymbol
- java.lang.Object
-
- psiprobe.tokenizer.TokenizerSymbol
-
- All Implemented Interfaces:
Comparable<Object>
public class TokenizerSymbol extends Object implements Comparable<Object>
The Class TokenizerSymbol.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
canBeNested
The can be nested.(package private) boolean
decodePaired
The decode paired.(package private) boolean
enabled
The enabled.(package private) boolean
hidden
The hidden.(package private) String
name
The name.(package private) String
startText
The start text.(package private) String
tailText
The tail text.
-
Constructor Summary
Constructors Constructor Description TokenizerSymbol(String name, String startText, String tailText, boolean hidden, boolean decodePaired, boolean enabled, boolean canBeNested)
Instantiates a new tokenizer symbol.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Character chr)
Compare to.int
compareTo(Object obj)
int
compareTo(TokenizerSymbol symbol)
Compare to.boolean
equals(Object obj)
int
hashCode()
-
-
-
Field Detail
-
name
final String name
The name.
-
startText
final String startText
The start text.
-
tailText
final String tailText
The tail text.
-
hidden
final boolean hidden
The hidden.
-
decodePaired
final boolean decodePaired
The decode paired.
-
enabled
final boolean enabled
The enabled.
-
canBeNested
final boolean canBeNested
The can be nested.
-
-
Constructor Detail
-
TokenizerSymbol
public TokenizerSymbol(String name, String startText, String tailText, boolean hidden, boolean decodePaired, boolean enabled, boolean canBeNested)
Instantiates a new tokenizer symbol.- Parameters:
name
- the namestartText
- the start texttailText
- the tail texthidden
- the hiddendecodePaired
- the decode pairedenabled
- the enabledcanBeNested
- the can be nested
-
-
Method Detail
-
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interfaceComparable<Object>
-
compareTo
public int compareTo(Character chr)
Compare to.- Parameters:
chr
- the chr- Returns:
- the int
-
compareTo
public int compareTo(TokenizerSymbol symbol)
Compare to.- Parameters:
symbol
- the symbol- Returns:
- the int
-
-