Answer the question
In order to leave comments, you need to log in
Code formatting distortion on github?
After uploading to git, the class looks like
public class Result implements Serializable {
private List<Element> list = new ArrayList<Element>();
private String result;
private boolean showResult = false;
public boolean isShowResult() {
return showResult;
}
public void hide() {
result = null;
showResult = false;
}
public void addElement(String value) {
list.add( new Element((int) System.currentTimeMillis(), value) );
}
Answer the question
In order to leave comments, you need to log in
Don't use tabs.
Of the modern languages, only Go uses them for some reason.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question