public class CheckCode
extends java.lang.Object
History:
| Modifier and Type | Field and Description |
|---|---|
static int |
FQ_ONE
appear frequency one
|
static int |
FQ_ONE_MANY
appear frequency one or many
|
static int |
FQ_ONE_WHOLE_LINE
appear frequency one with whole line pass to check
|
static int |
FQ_ZERO_MANY
appear frequency zero or many
|
static int |
FQ_ZERO_ONE
appear frequency zero or one
|
static int |
FQ_ZERO_ONE_WHOLE_LINE
appear frequency once zero or one with whole line pass to check
|
| Constructor and Description |
|---|
CheckCode() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Check(LineObject lineObject,
boolean printFlag,
CheckSt st,
LexRecord lexObj,
CheckObject checkObject,
UpdateLex updateLex,
int frequency,
boolean checkLength)
Check the code of the input line.
|
public static final int FQ_ONE
public static final int FQ_ZERO_ONE
public static final int FQ_ZERO_MANY
public static final int FQ_ONE_MANY
public static final int FQ_ONE_WHOLE_LINE
public static final int FQ_ZERO_ONE_WHOLE_LINE
public static boolean Check(LineObject lineObject, boolean printFlag, CheckSt st, LexRecord lexObj, CheckObject checkObject, UpdateLex updateLex, int frequency, boolean checkLength)
lineObject - the java object of the input lineprintFlag - the flag for print out check resultst - the state of current checkinglexObj - the current object of lexical recordcheckObject - the java object of checkingupdateLex - the java object of updateing lexical recordfrequency - the allowable frequency of appearancecheckLength - flag of checking length or notSubmit a bug or feature
Copyright © 2019 National Library of Medicine