public class SimpleDish extends Object implements com.github.siwenyan.dish_parser.IDish
| 构造器和说明 |
|---|
SimpleDish() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAllElements(Map<String,Object> params) |
Map<String,Object> |
asOptions() |
boolean |
containsElement(String key) |
static com.github.siwenyan.dish_parser.IDish |
cook(com.github.siwenyan.dish_parser.ISupply supply) |
Object |
getElement(String name) |
Set<String> |
getElementKeySet() |
Set<String> |
getElementKeySet(String partialName) |
com.github.siwenyan.dish_parser.Flavor |
getFlavor() |
int |
getPositiveIntegerElement(String... optKey) |
String |
getStringElement(String... optKey) |
com.github.siwenyan.dish_parser.ISupply |
getSupply() |
boolean |
hasElements() |
Object |
removeElement(String key) |
void |
setElement(String name,
Object element) |
void |
setElements(Map<String,Object> elements) |
int |
size() |
String |
toString() |
public static com.github.siwenyan.dish_parser.IDish cook(com.github.siwenyan.dish_parser.ISupply supply)
throws com.github.siwenyan.dish_parser.BadSmellException
com.github.siwenyan.dish_parser.BadSmellExceptionpublic com.github.siwenyan.dish_parser.Flavor getFlavor()
getFlavor 在接口中 com.github.siwenyan.dish_parser.IDishpublic void setElements(Map<String,Object> elements)
setElements 在接口中 com.github.siwenyan.dish_parser.IDishpublic void setElement(String name, Object element)
setElement 在接口中 com.github.siwenyan.dish_parser.IDishpublic Object getElement(String name)
getElement 在接口中 com.github.siwenyan.dish_parser.IDishpublic String getStringElement(String... optKey)
getStringElement 在接口中 com.github.siwenyan.dish_parser.IDishpublic void addAllElements(Map<String,Object> params)
addAllElements 在接口中 com.github.siwenyan.dish_parser.IDishpublic boolean containsElement(String key)
containsElement 在接口中 com.github.siwenyan.dish_parser.IDishpublic Set<String> getElementKeySet()
getElementKeySet 在接口中 com.github.siwenyan.dish_parser.IDishpublic Set<String> getElementKeySet(String partialName)
getElementKeySet 在接口中 com.github.siwenyan.dish_parser.IDishpublic boolean hasElements()
hasElements 在接口中 com.github.siwenyan.dish_parser.IDishpublic Object removeElement(String key)
removeElement 在接口中 com.github.siwenyan.dish_parser.IDishpublic com.github.siwenyan.dish_parser.ISupply getSupply()
getSupply 在接口中 com.github.siwenyan.dish_parser.IDishpublic int size()
size 在接口中 com.github.siwenyan.dish_parser.IDishpublic int getPositiveIntegerElement(String... optKey)
getPositiveIntegerElement 在接口中 com.github.siwenyan.dish_parser.IDishCopyright © 2020. All rights reserved.