com.github.siwenyan.dish_parser.ISupply Maven / Gradle / Ivy
package com.github.siwenyan.dish_parser;
import java.util.List;
public interface ISupply {
List getLines();
String getLine(int index);
Flavor getFlavor(int index);
void setLines(List lines) throws BadSmellException;
void setLines(String[] lines) throws BadSmellException;
void appendSupply(ISupply supply);
void supplySupply(String line) throws BadSmellException;
void cutInSupply(ISupply supply, int cutInAt);
ISupply getSupply(int index);
void clear();
ISupply removeSupply(int index);
void setPoison(boolean isPoison);
boolean isPoison();
boolean isEmpty();
int size();
boolean hasSupply(int index);
String toString(int limit);
void beDelicious(boolean urgent) throws BadSmellException;
List getStack(int index);
void addStack(List stack);
List getSupplyLines();
void addStack(int cutInCount, List stack);
void addStack(String oneStack);
void replaceFlavor(int index, Flavor.FlavorPart flavorPart, String replacement) throws BadSmellException;
ISupply clone();
String toJson();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy