Java
JJUG CCC 2023 Spring ã«åå ãã¾ããï¼ ä»åããªãã¨JJUG CCC åå 9å¹´ç®ã«ãã¦åç»å£ãã¦ãã¾ãããè²ããªäººããããã£ãåï¼ãã£ã¦è¨ããã¾ããï½1 ã»ãã·ã§ã³ã¯ãjavap ã使ã£ã¦ã¯ã©ã¹ãã¡ã¤ã«ãèªãã§ã¿ãã ã¨ãããããããã¢ãã¯ãªå 容ã§ããé å¼µã£ã¦â¦
JJUG CCC 2022 Fall ã«åå ãã¾ããï¼ ãªã³ã©ã¤ã³éå¬ããä»åã§4åç®ã ä»åã¯ã¹ã¿ããã¨ãã¦åå 1ãã¦ãã¡ãã£ã¨ã ãå¸ä¼ããã¾ãããã¹ã ã¼ãºã«é²è¡ã§ãã¦ããã幸ãã§ãã ä»åãç¹ã«ããã£ããªã¼ã¨æã£ãã®ããå®æ度ã®é«ããã¡ã ããã®ã»ãã·ã§ã³ã ã¾â¦
Java ã®ãµãã¼ãããã¦ããã¨ã³ã³ã¼ãã£ã³ã°ã®ä¸è¦§ãè¦ã¦ããã¨ãUTF-16, UTF-16BE, UTF-16LE, x-UTF-16LE-BOM ã¨ãã£ã¦ããªã«ãéããã ããã¨æã£ã¦èª¿ã¹ã¦ã¿ã¾ããã ã¾ã¨ããã¨ãèªã¿ã»æ¸ãæã®ãã¤ããªã¼ãã¼ (BO) 1 ã¨æ¸ãè¾¼ã¿æã® BOM (Byte Order Marâ¦
å¹´ãçç¥ããã¦ããæ¥ä»ï¼æ/æ¥ï¼ã®å ´å ã¾ãã¯ãDateTimeFormatter ãç¨æãã¾ãã DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MM/dd"); 次ã«ãæ¥ä»ã MonthDay ã¯ã©ã¹ã§ãã¼ã¹ãã¾ãã MonthDay monthDay = MonthDay.parse("07/18", forâ¦
Java ã®ã©ã ãå¼ããã©ã®ããã«ã³ã³ãã¤ã«ããå®è¡ããã¦ãããæ°ã«ãªãã¾ãããã ããã§ãã¯ã©ã¹ãã¡ã¤ã«ãåæãã¦ããã®ä¸èº«ã調ã¹ã¦ã¿ã¾ããã ãªããä»å㯠OpenJDK 17.0.1 ã使ã£ã¦èª¿ã¹ã¦ãã¾ãã ãã¼ã¸ã§ã³ã«ãã£ã¦æåãç°ãªãå ´åãããã®ã§ããâ¦
ååã®è¨äºï¼Javaã®ãã¼ã¸ã§ã³å¥ã1è¡ãã¤ãã¡ã¤ã«ãèªãæ¹æ³ã¾ã¨ãï¼ã¸ã®ææ³ã§ããã®ãããªè©±ãããã¾ããã 丸ã èªã¿è¾¼ãæ¹æ³ã®ã¾ã¨ãããé¡ããã¾ãï¼â ã¦ã¼ã¹ã± (å±±æ¬è£ä») (@yusuke) May 3, 2021 ã¨ããããã§ãä»åã¯ããã¹ããã¡ã¤ã«ãä¸æ¬ã§èªã¿è¾¼â¦
Java ã§ãã¡ã¤ã«ãèªã¿è¾¼ãå¦çã¯ããã¼ã¸ã§ã³ãä¸ãããã¨ã«ã©ãã©ãç°¡åã«æ¸ããããã«ãªã£ã¦ããã¾ããã ä»åã¯ãã©ãã ãç°¡åã«ãªã£ã¦ãã£ããã Java ã®ãã¼ã¸ã§ã³ãã¨ã«ã¾ã¨ãã¦èª¬æãã¾ãã ãªããããã§ã¯ä»¥ä¸ã®å¦çãè¡ãã³ã¼ãããã¨ã«ãã¦ãã¾ãâ¦
JDK 1.0 (Java 1.0.2) ãå ¥æããã®ã§ãGitHub ã«ç½®ãã¦ããã¾ããã https://github.com/YujiSoftware/JDK1.0 ãªãã¨ãWindows 10 ä¸ã§ãåãã¾ãã ãã¨ãsrc.zip ãå±éãã¦ç½®ãã ã®ã§ãGitHub ä¸ã§èªãã¾ãã Java èå¤å¦è ã®ã¿ãªãã¾ããã²ãæ´»ç¨ãã â¦
JJUG CCC 2020 Fall ã«åå ãã¾ããï¼ ä»åã¯ãåã®ãªã³ã©ã¤ã³éå¬ã¨ãããã¨ã§ããã¤ãã¨éã£ã¦èªå® ããã®è¦è´ã ã§ããtwitter ã®ããã·ã¥ã¿ã°ãè¦ãã¨ã¿ããªã§ãããããã£ã¦ãæã¯å¤ãããã質çå¿çãããã§ãã¤ãã¨å¤ããã楽ããã¾ããã ããã«å ãâ¦
Java ã® Object#Clone() ã¡ã½ãã㯠throws CloneNotSupportedException ã宣è¨ããã¦ãã¾ãã protected native Object clone() throws CloneNotSupportedException; ããããã¯ã©ã¹ã Cloneable ã¤ã³ã¿ãã§ã¼ã¹ãå®è£ ãã¦ããã° CloneNotSupportedExceptioâ¦
Stack Overflow ã®è³ªåã«ã¯ããã®å 容ã示ãã¿ã°ãä»ä¸ããã¦ãã¾ãã ãã®ã¿ã°ãããè¦ãã¨ãè¨èªã+ ããã¬ã¼ã ã¯ã¼ã¯ãã©ã¤ãã©ãªã®å称ãã¨ããæ§æãå¤ãã§ãã ã¤ã¾ãããããåæããã°ãè¨èªãã¨ã«è³ªåã®å¤ãï¼ã¤ã¾ãããã使ããã¦ããã人æ°ãããâ¦
JJUG CCC 2018 Fall ã«è¡ã£ã¦ãã¾ããï¼ä»åãèå³ã®ãããã£ã¼ã㪠JVM ã®è©±ã¨ãã¢ã¼ããã¯ãã£è¨è¨ãããããèãã¦ãå人çã«ã¯ã¨ã¦ããã³ã·ã§ã³ãä¸ããã¾ããï¼ ãDeep dive into instanceofãã®ããã«ãHotSpot VM ã®æ·±ã話ãç¥ããããä»äºã§å½¹ã«ç«ã¤â¦
Arrays.asList(T... a) ã¨ããã¡ã½ããã«ã¤ãã¦ã°ã°ãã¨ãããã®ã¡ã½ããã§è¿ã£ã¦ãã List ã¯ãadd ã remove ãã§ããªãã®ã§æ³¨æãã¾ããããã¨ãããã¨ãè¯ãæ¸ããã¦ãã¾ãã ã§ããããªãã§ããªãã®ãï¼ãã¨ããç¹ã«ã¤ãã¦ã¯æ¸ããã¦ããªããã¨ãå¤ãã®â¦
Oracle JDK ã®å ´å å³ã«ã¾ã¨ãã¦ã¿ã¾ããã ãããã¦ã¿ãã¨ããµãã¼ãæé5ï½6å¹´ã£ã¦çµæ§é·ããªã¼ã¨æãã¾ãã First Release Date Final Public Release Date Final Public Release Version Java 1.3 2000å¹´5æ8æ¥ 2006å¹´12æ Java 1.3.1 Update 20 Java 1.â¦
JJUG CCC 2018 Spring ã«è¡ã£ã¦ãã¾ããï¼ å®ã¯ãä»äºã§ã¯æè¿ Java ããé¢ãã¦ããã®ã§ãã*1ãããã§ã CCC ï¼ã¯ãã¹ã³ãã¥ããã£ã«ã³ãã¡ã¬ã³ã¹ï¼ã¨éæã£ã¦ãã ããã£ã¦ãã£ã±ãåèã«ãªã話ãããããããã¾ããã ç¹ã«ãåãæ¥çã®æ¹ãç»å£ããã¦ãã¦â¦
Java ã¯ããã¼ã¸ã§ã³ 10 以éã¿ã¤ã ãã¼ã¹ãªãªã¼ã¹ã«å¤ããã¾ããã ããã«åããã¦ããã¼ã¸ã§ã³è¡¨è¨ãã¾ãå¤ãã£ãã®ã§æ¦è¦ãã¾ã¨ãã¾ããã*1 詳細㯠JEP 322: Time-Based Release Versioning ãåç §ã ãã¼ã¸ã§ã³çªå· $FEATURE.$INTERIM.$UPDATE.$PATCH â¦
JJUG CCC 2017 Fall ã«è¡ã£ã¦ãã¾ããï¼ ä»åã¯èªå好ã¿ãªãæ®æ®µä½¿ã£ã¦ãã¢ã¬ãæ·±æãããã¨ãããªã£ã¦ããã ããçãªã»ãã·ã§ã³ãããããèãã¦å¤§æºè¶³ã§ããã å°è±¡ã«æ®ã£ã¦ããã®ããDBã®TCPãããã³ã«ã¨JDBC / yohei yamana ãããã ããã£ã¡ããã Posâ¦
11æ18æ¥(å) ã«éå¬ãããJJUG CCC 2017 Fall ã®ãæéå¥ãï¼ãã«ãã´ãªå¥ãã¿ã¤ã ãã¼ãã«ï¼ã»ãã·ã§ã³ä¸è¦§ï¼ã欲ããã£ãã®ã§ãåååæ§ã«ãã¼ã¸ãä½ãã¾ããï¼ JJUG CCC 2017 Fall - Timetable (éå ¬å¼) ä»åã®æ¹è¯ç¹ã¯ãæ°ã«å ¥ããã¿ã³ããããããããªâ¦
åã ãããã®å®è£ ã¯ã©ããªã®ï¼ï¼ã¨è¨ããã¦ãã String ã¯ã©ã¹ã® CharSequence ãå¼æ°ã«åã replace ã¡ã½ããã ãããã¤ãã« Java 9 ã§ãªãã¡ã¯ã¿ãªã³ã°ããã¦ãã¾ããï¼ ä»ã¾ã§ãã£ãåé¡ String ã¯ã©ã¹ã® replace (CharSequence target, CharSequence reâ¦
æ¬æ¥ãã¤ãã« JavaSE 9 ããªãªã¼ã¹ããã¾ããï¼ ããã§ãããã¦ããåã«ãªã£ã¦ãã JEP 254: Compact Strings ãã©ã®ããã«å®è£ ããã¦ããã®ã調ã¹ã¦ã¿ã¾ããã Compact Strings ã®æ¦è¦ ããã¾ã§ String ã¯ã©ã¹ã StringBuilder ã¯ã©ã¹ãªã©ã®å é¨ã§ã¯ãæåâ¦
ãã¾ã«æ¤ç´¢ã¨ã³ã¸ã³ãªã©ãããªã³ã¯ã辿ã£ã¦ Java API ããã¥ã¡ã³ã (Javadoc) ã®ãã¼ã¸ãéãã¨ãå¤ã Java 6 ã Java 7 ã®ãã¼ã¸ã表示ãã㦠(´ã»Ïã»ï½) ã¨ãªããã¨ãããã¾ãã èªå㯠Java 8 ã® API ããã¥ã¡ã³ããè¦ããã®ã«â¦ã ãããªã¨ãã«ãèªå㧠Jâ¦
ãã¤ã¦ https://duke.kenai.com/ ã§é å¸ããã¦ãã Duke ã®ç»åãåé å¸ãããã¼ã¸ãä½ãã¾ããï¼ Redistribution of Duke images ããã¯ä½ï¼ Java ã®ãã¹ã³ãããã£ã©ã¯ã¿ã¼ "Duke" ã®ç»åã¯ãããã¾ã§ https://duke.kenai.com/ 㧠BSDã©ã¤ã»ã³ã¹ã®ãã¨é å¸â¦
JJUG CCC 2017 Spring ã«è¡ã£ã¦ãã¾ããï¼ï¼ææ³ããã¨ã§æ¸ãï¼ãã¦ãã¾ã å ¬å¼ã§å ¬éããã¦ããªãã£ãã®ã§ãæ®å¿µãªããæéããã¶ã£ã¦ãã¾ã£ã¦åå ã§ããªãã£ãã»ãã·ã§ã³ããã£ãã®ã§ããã¨ã§èªãããã«ç¾æç¹ã§çºè¡¨è ã®æ¹ãå ¬éããã¦ããè³æä¸è¦§ãã¾ã¨ãâ¦
5æ20æ¥(å) ã«éå¬ãããJJUG CCC 2017 Spring ã®ãæéå¥ãã¿ã¤ã ãã¼ãã«ï¼ã»ãã·ã§ã³ä¸è¦§ï¼ã欲ããã£ãã®ã§ãåååæ§ã«ãã¼ã¸ãä½ãã¾ããï¼ JJUG CCC 2017 Spring - Timetable (éå ¬å¼) æ°æ©è½ããæ°ã«å ¥ãç»é²ã ä»åãããã»ãã·ã§ã³ã®ãæ°ã«å ¥ãç»â¦
static ãªã¡ã³ãã¼ã»ã¯ã©ã¹*1ã¯ã以ä¸ã®ããã« "private" ã¨ãã¦å®£è¨ã§ãã¾ãã ãã®æã"java Main$Internal" ã¨æã£ã¦ãã® private ã¯ã©ã¹å ã® main ã¡ã½ãããèµ·åã§ããã®ã§ããããã class Main{ private static class Internal{ public static void mâ¦
Java API ã¯ããã¼ã¸ã§ã³ãä¸ãããã¨ã«ã©ãã©ã大ãããªã£ã¦ãã¾ãã ã§ããã大ãããªã£ããã¨ãã£ã¦ããã³ã¨ããªãã£ãã®ã§ãç®å®ã¨ãã¦ã³ã¼ãè¡æ°ã確èªãã¦ã¿ã¾ããã Java API ã®ã³ã¼ãè¡æ° 調ã¹ãçµæããã¡ãã ãã¼ã¸ã§ã³ ã³ã¼ãè¡æ° jdk1.1.8 63,4â¦
NaN ã Infinity ã int ã«ãã£ã¹ããªãã¦æ®éã¯ããªãã¨æãã®ã§ããããã£ã¦ã¿ãããããªãã¾ããã (int)Double.NaN == 0 (int)Double.POSITIVE_INFINITY == Integer.MAX_VALUE (int)Double.NEGATIVE_INIFINITY == Integer.MIN_VALUE public static void â¦
Java 8 Update 102 ã®ãªãªã¼ã¹ãã¼ããè¦ã¦ãããã[JDK-8066871] java.lang.VerifyError: Bad local variable type - local final String - Java Bug System ã¨ãããã°ããã£ãã®ã§èª¿ã¹ã¦ã¿ã¾ããã ã©ããªãã°ï¼ ãã°ãèµ·ããã®ã¯ããã¼ã«ã«å¤æ°ã "finalâ¦
Java SE 8 Update 92 ã§ã¯åãã¦ããã®ã«ãUpdate 102 ã«ããã JAXB 㧠XML ã unmarshal ããã¨ãã«ããããã£ã«å¤ãã»ãããããªããªããã¿ã¼ã³ãããã¨ããã話ã èªåã¯ãRSS ã®ãã¼ã¹ã§ã¯ã¾ãã¾ããã ã©ããªã³ã¼ãï¼ ä¸è¨ã®ãããªããã©ã«ãåå空éâ¦
JJUG CCC 2016 Fall ã«è¡ã£ã¦ãã¾ããï¼ ä»åã®ã»ãã·ã§ã³ã®ä¸ã§ä¸çªæ°ã«ãªã£ãã®ã id:irof ããã®ãã©ããããJUnit5ãã ã¾ã ãæ£å¼ãªãªã¼ã¹åã§ãã次㮠JUnit ã¯ã©ããªã£ã¦ããäºå®ãªã®ããJUnit4 ã¨ã®é¢ä¿ã¯ãªã©ãã³ã³ãã¯ãã«ã¾ã¨ã¾ã£ã¦ãã¨ã¦ãåèâ¦