Exemplo n.º 1
0
        public static string Join(object delim, object[] parts)
        {
            string d = JavaSystem.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(JavaSystem.Str(parts[i]));
            }
            return(b.ToString());
        }
Exemplo n.º 2
0
 public static string ValueOf(object o)
 {
     return(JavaSystem.Str(o));
 }
Exemplo n.º 3
0
 public static string ValueOf(int i)
 {
     return(JavaSystem.Str(i));
 }
Exemplo n.º 4
0
 public static string ValueOf(double d)
 {
     return(JavaSystem.Str(d));
 }
Exemplo n.º 5
0
 public static string ValueOf(char c)
 {
     return(JavaSystem.Str(c));
 }
Exemplo n.º 6
0
 public static string ValueOf(bool b)
 {
     return(JavaSystem.Str(b));
 }