while (lines = bufferlist.readLine()){
if (lines.equals(myTxt)) {
flagNameStr = 1;
break;
}
}
public static Sequence createSequence() {
return new Sequence();
}
public static class Sequence {
public Sequence set(int x, int y) {
// do something with x, y
return this;
}
public Sequence move(int x, int y) {
// do something with x, y
return this;
}
//...
}