| 限定符和类型 | 字段和说明 |
|---|---|
protected com.github.siwenyan.common.MyEnvironment |
myEnvironment |
protected Map<String,ITable> |
tablesByName |
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractHost(Scanner in,
PrintStream feedback) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dying() |
ITable |
getCurrentTable() |
com.github.siwenyan.common.MyEnvironment |
getMyEnvironment() |
ITable |
getTable(String tableName) |
Set<String> |
getTableNames() |
Map<String,ITable> |
getTables() |
com.github.siwenyan.dish_parser.ISupply |
input(Scanner scanner) |
abstract void |
inviteExternalGuests(ITable myTable) |
abstract com.github.siwenyan.dish_parser.ISupply |
loadSupply(Scanner loader) |
void |
print(ITable table,
String text) |
void |
println(ITable table,
String text) |
com.github.siwenyan.dish_parser.ISupply |
quest() |
void |
register(ITable myTable) |
String |
reportTables() |
void |
resupply(com.github.siwenyan.dish_parser.ISupply supply,
String targetTableName) |
void |
setCurrentTable(String name) |
void |
start(String[] args) |
void |
unregisterTable(ITable table) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTable, defaultCook, getTemplateDish, getTemplateSupply, getTemplateSupply, initSupplyprotected AbstractHost(Scanner in, PrintStream feedback)
public abstract com.github.siwenyan.dish_parser.ISupply loadSupply(Scanner loader) throws com.github.siwenyan.dish_parser.BadSmellException
loadSupply 在接口中 IHostcom.github.siwenyan.dish_parser.BadSmellExceptionpublic abstract void inviteExternalGuests(ITable myTable)
public void unregisterTable(ITable table)
unregisterTable 在接口中 IHostpublic String reportTables()
reportTables 在接口中 IHostpublic ITable getCurrentTable()
getCurrentTable 在接口中 IHostpublic void setCurrentTable(String name) throws com.github.siwenyan.common.NGException
setCurrentTable 在接口中 IHostcom.github.siwenyan.common.NGExceptionpublic com.github.siwenyan.common.MyEnvironment getMyEnvironment()
getMyEnvironment 在接口中 IHostpublic void resupply(com.github.siwenyan.dish_parser.ISupply supply,
String targetTableName)
throws com.github.siwenyan.dish_parser.BadSmellException
public Set<String> getTableNames()
getTableNames 在接口中 IHostCopyright © 2020. All rights reserved.