Weitere ähnliche Inhalte
Ähnlich wie 千呼萬喚始出來的Java SE 7 (20)
千呼萬喚始出來的Java SE 7
- 3. Java 進化史 ? 2011/07/28 2002/02/13 2004/09/29 2006/12/11
- 5. JDK7 ... λ Language support for collections Annotations on Java types Jigsaw
- 24. Try-with-resources try ResourceSpecification Block ⇒ { final VariableModifiers_minus_final R #resource = Expression ; Throwable #primaryException = null; try ResourceSpecificationtail Block catch (Throwable #t) { #primaryException = t; throw #t; } finally { if (#resource != null) { if (#primaryException != null) { try { #resource.close(); } catch(Throwable #suppressedException) { #primaryException.addSuppressed(#suppressedException); } } else { #resource.close(); } } } }
- 54. FileVisitor 啟始目錄 目錄 檔案 鏈結 檔案 檔案 visitFile visitFile visitFile visitFile preVisitDirectory preVisitDirectory postVisitDirectory postVisitDirectory
- 70. Fibonacci .... you'd pick some minimum granularity size for which you always sequentially solve rather than subdividing. 結果 1134903170 耗時 199604
- 75. 靜態定型語言 2: invokestatic #3 // Method doSome:(Ljava/lang/String;)Ljava/lang/Integer; 17: invokevirtual #7 // Method Other.doOther:(Ljava/lang/String;)Ljava/lang/Integer; 32: invokeinterface #9, 2 // InterfaceMethod Another.doAnother:(Ljava/lang/String;)Ljava/lang/Integer;