Removing an element from a List<String[]> not working as expected
<p>I have an ArrayList of String arrays which is added to like so:</p>

<pre><code>List&lt;String[]&gt; data = new ArrayList&lt;&gt;();
data.add(new String[] {var, lex, valor});
</code></pre>

<p>When trying to erase one of the String arrays the output is <code>false</code> for some reason. Here's how I remove it:</p>

<pre><code>data.remove(new String[] {var, lex, valor});
</code></pre>

<p>I've also tried removing using position, the method is as follows:</p>

<pre><code>public void eliminarPos(String var, String lex, String valor, Integer ii) {
    boolean uno = data.remove(ii);
    System.out.println(uno);
}
</code></pre>

<p>The output for the method above is <code>false</code>. Is there any way to successfully remove the String array from the ArrayList?</p>