Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created May 25, 2011 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuwei-k/990659 to your computer and use it in GitHub Desktop.
Save xuwei-k/990659 to your computer and use it in GitHub Desktop.
object Test{
def hoge [@specialized(AnyRef) T](arr: Array[T]){
println(arr)
}
}
import scala.Predef$;
import scala.ScalaObject;
public final class Test$
implements ScalaObject
{
public void hoge(Object arr)
{
Predef$.MODULE$.println(arr);
}
public void hoge$mTc$sp(Object arr[])
{
Predef$.MODULE$.println(((Object) (arr)));
}
private Test$()
{
}
public static final Test$ MODULE$ = this;
static
{
new Test$();
}
}
public final class Test
{
public static final void hoge(Object obj)
{
Test$.MODULE$.hoge(obj);
}
}
object Test{
def hoge [T](arr: Array[T]){
println(arr)
}
}
import scala.Predef$;
import scala.ScalaObject;
public final class Test$
implements ScalaObject
{
public void hoge(Object arr)
{
Predef$.MODULE$.println(arr);
}
private Test$()
{
}
public static final Test$ MODULE$ = this;
static
{
new Test$();
}
}
public final class Test
{
public static final void hoge(Object obj)
{
Test$.MODULE$.hoge(obj);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment