title: Convert Java List to Scala Seq
body: <p>I need to implement a method that returns a Scala <code>Seq</code>, in Java.</p>
  
  <p>But I encounter this error:</p>
  
  <pre><code>java.util.ArrayList cannot be cast to scala.collection.Seq
  </code></pre>
  
  <p>Here is my code so far:</p>
  
  <pre><code>@Override
  public Seq&lt;String&gt; columnNames() {
      List&lt;String&gt; a = new ArrayList&lt;String&gt;();
      a.add("john");
      a.add("mary");
      Seq&lt;String&gt; b = (scala.collection.Seq&lt;String&gt;) a;
      return b;
  }
  </code></pre>
  
  <p>But <code>scala.collection.JavaConverters</code> doesn't seem to offer the possibility to convert as a <code>Seq</code>.</p>