Twitter㧠@RayStark77 æ°ã«æãã¦ããã£ãæ¹æ³ var v = new java.util.Vector<String>(); java.util.Enumeration<String> e = v.elements(); for (String s : (Iterable<String>)e::asIterator) { // ... } Enumeration#asIterator() ãJava9ããã®ã¡ã½ãããªã®ã§ Java9 以éã§å©ç¨å¯è½ã ãªãã»ã©ãªã¼ãããå®éã«ã¯ãã®ã¾ã¾ãã¤ã¬ã¯ãã«ã¯æ¸ããªãã§ããã©ãæ示çã«ãã£ã¹ããã¦ãããã°æ¸ãã¾ãã for (String name : (Iterable<String>) request.getHeaderNames()::asIterator) { ... }https://t.co/NTL5iUFzL9â ã
{{#tags}}- {{label}}
{{/tags}}