package controlledparts; import java.io.BufferedReader; import java.io.IOException; public class InputQueue extends java.lang.Object { public int length() { return totalLength; } public int totalLength; public char getOne() { char rtn; if(!readLine()) return 0; rtn=lineBuffer[pStart]; pStart++; // System.out.println("pStart="+pStart+":"+getLineBufferString()); return rtn; } public boolean isNumerical(char c) { if(('0'<=c) && (c<='9')) return true; return false; } public boolean isAlphabet(char c) { if(('a'<=c) && (c<='z')) return true; if(('A'<=c) && (c<='Z')) return true; return false; } public String rName() { String rtn=""; if(!readLine()) return null; while(pStartl2) {pStart+=1; return true;} boolean rtn=false; for(int i=0;il2) return false; for(int i=0;i