rinunu
1/6/2015 - 3:24 PM

gistfile1.java

package sample;

import scala.Predef.;
import scala.collection.Seq;
import scala.collection.Seq.;
import scala.reflect.ScalaSignature;

@ScalaSignature(bytes="\006\001]1A!\001\002\001\013\t\031A+\0349\013\003\r\taa]1na2,7\001A\n\003\001\031\001\"a\002\006\016\003!Q\021!C\001\006g\016\fG.Y\005\003\027!\021a!\0218z%\0264\007\"B\007\001\t\003q\021A\002\037j]&$h\bF\001\020!\t\001\002!D\001\003\021\025\021\002\001\"\001\024\003\r\021\027M\035\013\002)A\021q!F\005\003-!\021A!\0268ji\002")
public class Tmp
{
  public void bar()
  {
    Seq seq = (Seq)Seq..MODULE$.apply(Predef..MODULE$.wrapIntArray(new int[] { 1, 2, 3 }));
    seq.foreach(new Tmp..anonfun.bar.1(this));
  }
}
package sample

class Tmp {

  def bar(): Unit = {
    val seq = Seq(1, 2, 3)
    for (s <- seq) {
      println(s)
    }
  }
}