Java 版本的 Sprintf 字符串格式化函数

// String s = new PrintfFormat("a = %02d").sprintf(new Object[]{new Integer(2)}); // System.out.println(s); // // (c) 2000 Sun Microsystems, Inc. // ALL RIGHTS RESERVED // // License Grant- // // // P
相关文章
相关标签/搜索