what are atoms variable and what are usage of it?
<pre><code>public List&lt;Minterm&gt; completeMinterm(Minterm minterm, String variables){
  List&lt;Minterm&gt; minterms=new ArrayList&lt;Minterm&gt;();

    Minterm m1=new Minterm();
    Minterm m2=new Minterm();
    for (int k = 0; k &lt; minterms.size(); k++) {
        for (int i = 0; i &lt; variables.length(); i++) {
       ..
        }
            m1= minterms.get(k);
            m1.addAtom(new Atom(variables.charAt(i),false));
            m2 = minterms.get(k);
            m2.addAtom(new Atom(variables.charAt(i),true));

        ..
    }
    }
</code></pre>

<p>I used eclipse debugger to find errors, I don't understand, why the atom added to <code>m2</code> is added to <code>m1</code> too in the same time, when this line is run:</p>

<blockquote>
  <p>m2.addAtom(new Atom(variables.charAt(i),true));</p>
</blockquote>

<p>any Idea why?</p>
