javalangbyte.java

来自「JDiff is a Javadoc doclet which generate」· Java 代码 · 共 40 行

JAVA
40
字号
package ChangedPackage;/**  * OLD: This class contains two methods which caused JDiff to report one  * method as removed and added. This may have been due to a List's  * compareTo method depending upon another List? */public class JavaLangByte {    /** Default constructor - unchagned.    public JavaLangByte() {    }    // This is verbatim from J2SE1.2    /**     * Returns a new String object representing the specified Byte. The radix     * is assumed to be 10.     *     * @param b	the byte to be converted     */    public static String toString(byte b) {	return Integer.toString((int)b, 10);    }    /**     * Returns a String object representing this Byte's value.     */    public String toString() {        	return String.valueOf((int)value);    }    /**     * The value of the Byte.     *     * @serial     */    private byte value;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?