public void print(object o)
 {
     lock (line)
     {
         line.Append(SYSTEM.str(o));
     }
 }
 public void print(double d)
 {
     lock (line)
     {
         line.Append(SYSTEM.str(d));
     }
 }
        // public interface is thread-safe

        public void print(bool b)
        {
            lock (line)
            {
                line.Append(SYSTEM.str(b));
            }
        }
 public void println(double d)
 {
     lock (line)
     {
         line.Append(SYSTEM.str(d));
         finishLine();
     }
 }
 public void println(bool b)
 {
     lock (line)
     {
         line.Append(SYSTEM.str(b));
         finishLine();
     }
 }
Example #6
0
 public StringBuffer append(double d)
 {
     lock (content)
     {
         content.Append(SYSTEM.str(d));
     }
     return(this);
 }
 public void println(object o)
 {
     lock (line)
     {
         line.Append(SYSTEM.str(o));
         finishLine();
     }
 }
Example #8
0
 public StringBuffer append(object o)
 {
     lock (content)
     {
         content.Append(SYSTEM.str(o));
     }
     return(this);
 }
Example #9
0
 public StringBuffer append(bool b)
 {
     lock (content)
     {
         content.Append(SYSTEM.str(b));
     }
     return(this);
 }
Example #10
0
 public static System.String join(System.Object delim, System.Object[] parts)
 {
     System.String             d = SYSTEM.str(delim);
     System.Text.StringBuilder b = new System.Text.StringBuilder();
     for (int i = 0; i < parts.Length; i++)
     {
         if (i > 0)
         {
             b.Append(d);
         }
         b.Append(SYSTEM.str(parts[i]));
     }
     return(b.ToString());
 }
Example #11
0
 public static string valueOf(char c)
 {
     return(SYSTEM.str(c));
 }
Example #12
0
 public static string toString(bool b)
 {
     return(SYSTEM.str(b));
 }
Example #13
0
 public static string valueOf(object o)
 {
     return(SYSTEM.str(o));
 }
Example #14
0
 public static string valueOf(bool b)
 {
     return(SYSTEM.str(b));
 }
Example #15
0
 public static string valueOf(int i)
 {
     return(SYSTEM.str(i));
 }
Example #16
0
 public StringBuilder append(System.Object o)
 {
     content.Append(SYSTEM.str(o));
     return(this);
 }
Example #17
0
 public override string ToString()
 {
     return(SYSTEM.str(value));
 }
Example #18
0
 public StringBuilder append(double d)
 {
     content.Append(SYSTEM.str(d));
     return(this);
 }
Example #19
0
 public StringBuilder append(bool b)
 {
     content.Append(SYSTEM.str(b));
     return(this);
 }
Example #20
0
 public static string toString(double d)
 {
     return(SYSTEM.str(d));
 }
Example #21
0
 public static string valueOf(double d)
 {
     return(SYSTEM.str(d));
 }