import java.io.*; import java.lang.*; class Token { String token = ""; boolean isLabel(){ boolean x=false; int[] theString={}; int[] str=new int[theString.length]; for (int i=0; i"){ x=true; } } return x; } String readLabel(){ return (this.isLabel())?this.substring(indexOf("<")+1,indexOf(">")-1):null; } static boolean isEndLabel(){ String x; boolean b = false; int i; String str[] = new String[50]; if (!this.readLabel()) { System.out.println("einai null"); System.exit(0); } // to string na ginetai se pinaka. dhladh to string x ston pinaka str if(str[0]=="/") { b=true; } return b; } //end function } //end class