title: How to use scala.collection.immutable.List in a Java code
body: <p>I need to write a code that compares performance of Java's <code>ArrayList</code> with Scala's <code>List</code>. I am having a hard time getting the Scala <code>List</code> working in my Java code. Can some one post a real simple "hello world" example of how to create a Scala <code>List</code> in java code (in a <code>.java</code> file) and add say 100 random numbers to it?</p>
  
  <p>PS: I am quite good at Java but have never used Scala.</p>