2011-07-01ãã1ã¶æéã®è¨äºä¸è¦§
大éªEffectiveJavaèªæ¸ä¼ #3 - PARTAKE EffectiveJavaã®èªæ¸ä¼ããã¾ãããã°ãã°ãã§ããã ãã¤ãéãã¨ããã°ãã¤ãéããããããªã°ãã°ãã§å¤§ä¸å¤«ãï¼ãã¨æã£ãããããã®ã§ããããã¸ã¡ãªã®ã¯ä»ã«ããã¾ããã ãã®åå¼·ä¼ã®ç®çã¯Javaã§ã®éè«ï¼æè¦â¦
ã¨æã£ã¦ backpaper0ããã¡ ã横ç®ã§è¦ãªãã GroovyConsole ç«ã¡ä¸ãã¦ãã£ã¦ã¿ãã groovy> @Grab('org.spockframework:spock-core:0.5-groovy-1.7') groovy> import spock.lang.* groovy> class HelloSpec extends Specification { groovy> } Exception tâ¦
Java SE 7 Launch ã¤ãã³ãå ¨å½ãã£ã©ãã³éå¬ | å¯ºç° ä½³å¤® - Yoshio Terada é¢ã¸ã£ãã«ã³ãã¡ã¬ã³ã¹2011 : ATND é¢ã¸ã£ãã«ã³ãã¡ã¬ã³ã¹2011 #kancon2011 - Togetterã¾ã¨ã é¢ã¸ã£ãã«ã³ãã¡ã¬ã³ã¹2011ãJava SE 7 Launchã¤ãã³ãå ¨å½ãã£ã©ãã³ã çºè¡¨å 容â¦
çµè«ã¯ããããããã¾ããï¼ããªã®ã§ã¡ã¢ä»£ããã§ãã ã¨ãããããã¼ã¸ã§ã³ PS> groovy -version Groovy Version: 1.8.0 JVM: 1.6.0_24 æ¬é¡ class Outer { static class Inner { } } class Child extends Outer{ } new Child.Inner(); Javaã ã¨åºæ¥ããåâ¦
第7åãGroovyã¤ã³ã»ã¢ã¯ã·ã§ã³èªæ¸ä¼ãIN é¢è¥¿ : ATNDã«è¡ã£ã¦ããã®ã§ãRedcarãã¤ã³ã¹ãã¼ã«ãã¾ãããé æ¥ã§ã¤ãªãã®ã¯ééã£ã¦ããããã«è¦ãã¾ãããæ¸ãééãã訳ã§ã¯ããã¾ããã Redcar? http://redcareditor.com/ Textmateã£ã½ããã®ãããã§ããâ¦
class A { String toString() { return "AAA" } } def a = new A(); println a a.metaClass.toString = {return "BBB"} println a println a.toString() toStringãå·®ãæ¿ãã¦ã¿ãã¼ã£ã¦ã ããªãã ãã©â¦ çµæ AAA AAA BBB åæã«å¼ã°ããã®ã¨æ示çã«å¼ã¶ã®â¦
http://groovy.codehaus.org/GroovyFX ç°¡åã«è¨ã㨠GroovyFX 㯠JavaFX 2.0 ã Groovy ã«ãããã®ã The project is currently in Alpha 1.0 state. Alphaã§ãã ãã¦ã³ãã¼ã jar ã¨ã zip ã¨ããããªã®ããã¾ããããªãã§ã½ã¼ã¹ã http://svn.codehaus.orâ¦
主ã«Chromeã§ãFirefox5ã¯ã¹ã¯ãã¼ã«ããã¦ããIEã¯ããã¦ãªãã£ãã åå ããã¤ã word-wrap: break-word ;ãã¼ãã«ããã*1ã®ããããã¾ããããbodyã«ãããå ¥ã£ã¦ãã¦ç¶æ¿ããã¦ããããã®ããã§ãããªã®ã§ãpreã«ã¹ã¯ãã¼ã«ã¤ãã¦ã人ã¯ããã«ä¸æ¸ãã§â¦
æ®ã© ATND APIãGroovyã§å©ãã¦ã¿ã - æ¥ã 常ã ã¨åãã§ãã Zusaarã¨ATNDã®APIã使ãä¸ã§éã¨ããã¯æ®ã©ãªãã®ã§ããæ®ã©ãã®ã¾ã¾ã§ããã£ã¦ãã¿ã ãæ®ã©åãã ããå ±éåãã¨èããããããã¾ãããããã®å ´åã¯éãæ¦å¿µã®ãã®ãªã®ã§å ±éåãã¡ããããªâ¦