title: Pass argument to a static constructor in Java?
body: <p>I'm trying to initialize a static class, with an argument, and then run some more static code in that class.<br>
  I'm aware of the <code>static</code> block, but it seems it can't take any arguments.<br>
  Is there a way to pass arguments to a static constructor?<br>
  If not, what is the recommended technique to initialize a Static class using an argument?  </p>
  
  <p><strong>Edit:</strong>
  A static class to my understanding is a class which cannot be instantiated (in c# they're called static classes, if Java has a different term for them, sorry for not being aware of it) - it's accessed through it's class name rather than an object name.  </p>
  
  <p>What I'm trying to achieve (very simplified) is a class which receives a dictionary as String, parses it, and has methods manipulate it like <code>GetRandomEntry</code>.  </p>
  
  <p>Here's an elaborated snippet of my code:  </p>
  
  <pre><code>public class QuestionsRepository {  
  private static Map&lt;String,String[]&gt; easyDefinitions = new HashMap&lt;String,String[]&gt;();  
  
  //...  
  
  static 
      {  
      // need to receive and parse dictionary here    
      }  
  //...   
  </code></pre>
  
  <p>Taking the relevant parts of a code snippet is never easy, hope i have chosen wisely (:<br>
  Another detail that may be relevant - I'm a c# programmer, usually. Just Started learning Java lately.</p>
  
  <p>Thanks.</p>