2016-02-01ãã1ã¶æéã®è¨äºä¸è¦§
人éçãã¦ããã¨é«ç¢ºçã§é£ææ©è½ãæä¾ããã·ã¹ãã ãæ§ç¯ããå¿ è¦ãåºã¦ãããã¨ãããã¾ãï¼ ä¾ãã°ããã³ã³ãã³ãã«ã¤ãã¦ãã¿ã³ãé£æãããã¨ã§ãè¯ãããã表æãããããªã·ã¹ãã ã§ãï¼é£æã¯æ¥½ããï¼ï¼ ãããå®è£ ããæ¹ã¨ãã¦ã¯ç´ç²ã«æ¥½ããã§ã°â¦
管çç»é¢ãä½ã£ã¦ãã¨ï¼ãã¿ã ãã«æ¼ããããã¯ãªããï¼ãã¨ãã£ã¦ç¡ãã¨ä¸ä¾¿ãã¿ãããªãã¿ã³ (æãã¯ãã以å¤ã®ä½ã) ãç»é¢ä¸ã«ç½®ããããªãæãããã¨æãï¼ ä¾ãã°ãããã§è¡ããããªå¦çã (ãªãããã®äºæ ã§) å³æå®è¡ãããã¿ã³ã®ãããªãã¤ï¼ãããâ¦
ã¿ã¤ãã«ã ãã§ã¯ä½ãè¨ã£ã¦ããããããããã¾ãããï¼ public class Foo<T> { private Class<T> clazz; ... public void something() { // ä¾ãã°ãã㧠clazz ã使ã£ã¦ä½ããå¦çããã System.out.println(clazz); } } ã¿ãã㪠class ãããã¨ãã«ï¼ããã® cl</t></t>â¦