Created
January 12, 2011 12:45
-
-
Save xuwei-k/776117 to your computer and use it in GitHub Desktop.
限定継続を逆コンパイルした
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. | |
// Jad home page: http://www.kpdus.com/jad.html | |
// Decompiler options: packimports(3) | |
// Source File Name: test.scala | |
import scala.Predef$; | |
import scala.ScalaObject; | |
import scala.actors.Actor; | |
import scala.runtime.BoxesRunTime; | |
import scala.runtime.IntRef; | |
import scala.util.continuations.ControlContext; | |
import scala.util.continuations.package$; | |
public final class Trampoline$ | |
implements ScalaObject | |
{ | |
public void main(String args[]) | |
{ | |
Trampoline.TrampolineActorA..MODULE$.start(); | |
Trampoline.TrampolineActorB..MODULE$.start(); | |
package$.MODULE$.reset(new anonfun.main._cls1()); | |
Thread.sleep(100L); | |
Trampoline.TrampolineActorA..MODULE$.stop(); | |
Trampoline.TrampolineActorB..MODULE$.stop(); | |
} | |
public ControlContext _mthswitch(Actor otherSide$1) | |
{ | |
return package$.MODULE$.shiftR(new anonfun.switch._cls1(otherSide$1)); | |
} | |
public ControlContext runTest() | |
{ | |
IntRef n$1 = new IntRef(0); | |
Predef$.MODULE$.println(BoxesRunTime.boxToInteger(n$1.elem)); | |
return _mthswitch(Trampoline.TrampolineActorA..MODULE$).flatMap(new anonfun.runTest._cls1(n$1)); | |
} | |
private Trampoline$() | |
{ | |
} | |
public static final Trampoline$ MODULE$ = this; | |
static | |
{ | |
new Trampoline$(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment