com.github.siwenyan.dish_parser.IDish Maven / Gradle / Ivy
package com.github.siwenyan.dish_parser;
import java.util.Map;
import java.util.Set;
public interface IDish {
Flavor getFlavor();
// void setFlavor(Flavor flavor);
boolean containsElement(String key);
void setElements(Map elements);
Object getElement(String name);
void setElement(String name, Object element);
Object removeElement(String name);
Set getElementKeySet();
Set getElementKeySet(String partialName);
boolean hasElements();
void addAllElements(Map elements);
String getStringElement(String... optKey);
ISupply getSupply();
int size();
int getPositiveIntegerElement(String... optKey);
Map asOptions();
}