title: Java pack of variables
body: <p>Hello I want to make "something" in java that is a pack of boolean variables. Coming from C I would create a struct that holds these variables so they are organized somehow. Now in java I am confused on how I should move on. To be more specific I would like to know what is better for this occasion:</p>
  
  <p>A class with private members  and getters-setters?</p>
  
  <p>A class with static private members?</p>
  
  <p>An interface with these values?</p>
  
  <p>Thx in advance.</p>
  
  <p>To be more specific I would like to pass a bunch of options to a function, so instead of calling a function like</p>
  
  <pre><code>foo(arg1,arg2,arg3.... argn); //each arg has different type
  </code></pre>
  
  <p>I want to create a pack of this args and call the function like this:</p>
  
  <pre><code>foo(packetOfArgs);
  </code></pre>
  
  <p>Can you provide me with any guidelines for this occasion?</p>