📄 javalangbyte.java
字号:
package ChangedPackage;/** * NEW: Unless you see this text in the report, this class no longer seems * to trigger the problem it was designed to test. * 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.3 /** * Returns a new String object representing the specified Byte. The radix * is assumed to be 10. * * @param b the byte to be converted * @return the string representation of the specified <code>byte</code> */ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -