お決まりのfor文をCみたいにマクロ使ってREP(i, n)と短く書きたい javaじゃ無理 じゃあもうタイプ量が減ればいいよ yasnippetで展開させればいいんじゃね? ついでによく使いそうなコレクションの宣言もさくっと書けるようにしてみよう import java.util.*; してること前提です。 導入 yasnippetが必要です。あとemacsも必要です。 Google Code Archive - Long-term storage for Google Code Project Hosting. ファイルはgithubに置いてあります。 GitHub - k-chop/yasnippet-java-topcoder: yasnippet java-mode for topcoder. These snippets are placed in the public dom