* @param x
* the double to print
*/
- public static void print(java.io.PrintStream s, String fmt, double x)
+ public static void printDouble(java.io.PrintStream s, String fmt, double x)
{
- s.print(new Format(fmt).form(x));
+ s.print(new Format(fmt).formDouble(x));
}
/**
* @param x
* the long to print
*/
- public static void print(java.io.PrintStream s, String fmt, long x)
+ public static void printLong(java.io.PrintStream s, String fmt, long x)
{
- s.print(new Format(fmt).form(x));
+ s.print(new Format(fmt).formLong(x));
}
/**
* @param x
* the character to
*/
- public static void print(java.io.PrintStream s, String fmt, char x)
+ public static void printChar(java.io.PrintStream s, String fmt, char x)
{
- s.print(new Format(fmt).form(x));
+ s.print(new Format(fmt).formChar(x));
}
/**
* @exception IllegalArgumentException
* if bad argument
*/
- public String form(double x)
+ public String formDouble(double x)
{
String r;
* the number to format
* @return the formatted string
*/
- public String form(long x)
+ public String formLong(long x)
{
String r;
int s = 0;
* the value to format
* @return the formatted string
*/
- public String form(char c)
+ public String formChar(char c)
{
if (fmt != 'c')
{