<?xml version="1.0"?>
<rss version="2.0">
<channel>

  
  
<title>kz@Axion blog - Responses</title>
<link>http://www.axion-software.com/blog/kz/</link>
<description></description>
<language>ja</language>
<managingEditor>Blog Owner</managingEditor>
<lastBuildDate>Wed, 21 May 2008 15:09:55 GMT</lastBuildDate>
  

  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Re: インスタンスイニシャライザ？</title>
    <link>http://www.axion-software.com/blog/kz/2008/05/08/1210238580000.html#comment1211382595075</link>
    <description>
      &lt;p&gt;カタカナ表記するならインスタンスイニシャライザで正解だと思います。言語仕様上は&lt;em&gt; InstanceInitializer&lt;/em&gt;の様ですし。(確認してみたところ第2版から追加されているようです。)&lt;/p&gt;

&lt;p&gt;導入主目的はおそらく匿名内部クラスの初期化のためでしょう(ほんとのところは知りません)。コンストラクタかけない状況では使用するメリットが有るかもと。&lt;/p&gt;

&lt;p&gt;以下 The Java Language Specification, Third Edition 　8.1.6 Class Body and Member Declarations&amp;nbsp; より。&lt;/p&gt;

&lt;p&gt;&lt;em&gt;ClassBody:&lt;br /&gt;

&lt;/em&gt;{ &lt;em&gt;ClassBodyDeclarations&lt;sub&gt;opt&lt;/sub&gt;&lt;/em&gt; }&lt;em&gt;&lt;br /&gt;

&lt;br /&gt;

ClassBodyDeclarations:&lt;br /&gt;

ClassBodyDeclaration&lt;br /&gt;

ClassBodyDeclarations ClassBodyDeclaration&lt;br /&gt;

&lt;br /&gt;

ClassBodyDeclaration:&lt;br /&gt;

ClassMemberDeclaration&lt;br /&gt;

InstanceInitializer&lt;br /&gt;

StaticInitializer&lt;br /&gt;

ConstructorDeclaration&lt;br /&gt;

&lt;br /&gt;

ClassMemberDeclaration:&lt;br /&gt;

FieldDeclaration&lt;br /&gt;

MethodDeclaration&lt;br /&gt;

ClassDeclaration &lt;br /&gt;

InterfaceDeclaration&lt;br /&gt;

;&lt;/em&gt;&lt;/p&gt;
    </description>
    <author>Masakazu Emi</author>
    <comments>http://www.axion-software.com/blog/kz/2008/05/08/1210238580000.html#comments</comments>
    <guid isPermaLink="true">http://www.axion-software.com/blog/kz/2008/05/08/1210238580000.html#comment1211382595075</guid>
    <pubDate>Wed, 21 May 2008 15:09:55 GMT</pubDate>
  </item>
  
  </channel>
</rss>
