![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
Frank_Cui
这个作者很懒,什么都没留下…
展开
-
[Java] [Format Conversion] int ... String... char[] ... List<Character>... char[] ... String.. int
1. int to String int x = 123; String string = String.valueOf(x); 2.String to char[] char[] xString = string.toCharArray(); 3.char[] to List<Character> using loop to add each one ...原创 2018-09-18 10:10:45 · 338 阅读 · 0 评论 -
[Java] Collection Framework
1.Two root interface: Collection & Map. 2.Collection has three inherated interface: List, Queue, Set. List & Queue is sorted and elements can dupicated. Set is un-sorted, and element inside i...原创 2018-11-06 19:57:36 · 218 阅读 · 0 评论 -
[Java] [Exception]
1.非检查异常(RunTimeException)由jvm自动抛出和捕获。因此在把自定义异常(CustomException)包装成RunTimeException 并且抛出时,不用在方法签名处表明throws关键字。 private void test2(){ try { test1(); } catch (CustomExceptio...原创 2018-11-04 23:05:01 · 124 阅读 · 0 评论