摘要: Constructor Object() Method Object clone() // protected shallow copy ,override it as public if the subclass use this method , // implement the Cloneab 阅读全文
posted @ 2017-08-02 22:21 征程126 阅读(287) 评论(0) 推荐(0) 编辑
摘要: StringBuilder 类是可修改的字符串类,内部由可变数组构成,如果需要频繁修改字符串,字符串追加等,最好使用此类 此类只能在单线程中使用,但效率较高,如果要在多线程中使用,用StringBuffer类,两类API完全相同 Constructor StringBuilder(); Constr 阅读全文
posted @ 2017-08-02 19:40 征程126 阅读(259) 评论(0) 推荐(0) 编辑
摘要: char charAt(int index) return the value at the index int compareTo(String other) returns a negative value if the string comes before other in dictiona 阅读全文
posted @ 2017-08-02 12:52 征程126 阅读(243) 评论(0) 推荐(0) 编辑
摘要: ########## day17 包装类 System Math BigInteger Arrays #########构造方法 把字符串转换成int Integer in = Integer(String);int val = in.intValue(); int val = Integer.pa 阅读全文
posted @ 2017-08-02 09:37 征程126 阅读(119) 评论(0) 推荐(0) 编辑