public class SetTable
extends java.lang.Object
History:
Modifier and Type | Method and Description |
---|---|
static java.util.HashSet<java.lang.String> |
GetSetTabe(java.lang.String inFile,
boolean verbose,
int lineNum)
Get the set table by loading all terms from a file with options of
verbose and show loading lineNum.
|
static boolean |
InTable(java.lang.String inStr,
java.util.HashSet<java.lang.String> setTable)
Check if a term is in the hash table
|
public static boolean InTable(java.lang.String inStr, java.util.HashSet<java.lang.String> setTable)
inStr
- the term to be checkedsetTable
- a set table stores all termspublic static java.util.HashSet<java.lang.String> GetSetTabe(java.lang.String inFile, boolean verbose, int lineNum)
inFile
- the file includes terms to be loadedverbose
- verbose flaglineNum
- loading status of line number to be displayed Submit a bug or feature
Copyright © 2015 National Library of Medicine