String str=new String();
if (beginIndex>this.count||endIndex>this.count||beginIndex>endIndex) {
// FIXME
- System.printString("Index error: "+this+" "+beginIndex+" "+endIndex+"\n");
+ System.printString("Index error: "+beginIndex+" "+endIndex+" "+count+"\n"+this);
}
str.value=this.value;
str.count=endIndex-beginIndex;
return o.toString();
}
+ public static String valueOf(boolean b) {
+ if (b)
+ return new String("true");
+ else
+ return new String("false");
+ }
+
public static String valueOf(char c) {
char ar[]=new char[1];
ar[0]=c;