public class Token extends Object
| Constructor and Description |
|---|
Token(int tokenId,
Lexem lexem,
int score) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getDescription() |
Lexem |
getLexem() |
int |
getLexemId() |
int |
getLexerId() |
String |
getName() |
Range |
getRange() |
int |
getScore() |
int |
getTokenId()
Gets integer identifier of the token.
|
String |
getValue() |
boolean |
isDeleted() |
boolean |
isImmutable() |
void |
setDeleted(boolean deleted) |
void |
setImmutable(boolean immutable) |
void |
setScore(int score) |
String |
toString() |
void |
undelete() |
public Token(int tokenId,
Lexem lexem,
int score)
public int getTokenId()
public Lexem getLexem()
public Range getRange()
public int getScore()
public int getLexerId()
public int getLexemId()
public String getValue()
public String getName()
public String getDescription()
public void setScore(int score)
public boolean isImmutable()
public void setImmutable(boolean immutable)
public void setDeleted(boolean deleted)
public boolean isDeleted()
public void delete()
public void undelete()
Copyright © 2020. All rights reserved.