æµãããããªã¤ã³ã¿ã¼ãã§ã¼ã¹Mapç
java-jaã«æµãããããªã¤ã³ã¿ã¼ãã§ã¼ã¹ã§Mapãçµã¿ç«ã¦ã話ãåºã¦ãã¾ããããSeasar2ã®2.4.18(ãããããããã£ã¨åãã)ããã¯ãMapsã¯ã©ã¹ã§ãã®æ©è½ã¯ãµãã¼ãããã¦ãã¾ãã
java-javaã¯http://www.lingr.com/room/java-ja/archives/2007/11/21#msg-18798710ã
使ãæ¹ã¯ãããªæãã
Listã®å ´åã¯ãJavaæ¨æºã®Arraysã§ãµãã¼ãããã¦ãã¾ãã
Map<String, Integer> map =
Maps.map("a", 1).$("b", 2).$("c", 3).$();
ç¢éããã®ã¨ããã§ãå¥ã®ã©ã¤ãã©ãªãç´¹ä»ããã¦ãã¾ããã
List<Integer> list = Arrays.asList(1, 2, 3, 4);
http://d.hatena.ne.jp/t_yano/20071120
ããã«ãããªã®ãã¿ã¤ãã¾ããã
http://d.hatena.ne.jp/odz/20070803/1186128779
ã¿ããªåããã¨ãèãã¦ããã¨ãããã¨ã§ããã(ç¬)
å人çã«ã¯ãä»ã®Eclipseã¯static importã使ãã«ããæ°ããã(èªåçã«importã«è¿½å ãããªããªã©)ã®ã§ãstatic importã¯ãã¾ãç©æ¥µçã«ã¯ä½¿ããªãããªã