Created
April 24, 2014 15:30
-
-
Save RainWarrior/11258913 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
import scala.Predef.; | |
import scala.collection.immutable.Range.Inclusive; | |
import scala.reflect.ScalaSignature; | |
import scala.runtime.BoxesRunTime; | |
@ScalaSignature( | |
bytes = "\u0006\u0001\r2A!\u0001\u0002\u0001\u000b\t!A+Z:u\u0015\u0005\u0019\u0011a\u0002\u001ff[B$\u0018PP\u0002\u0001\'\t\u0001a\u0001\u0005\u0002\b\u00155\t\u0001BC\u0001\n\u0003\u0015\u00198-\u00197b\u0013\tY\u0001B\u0001\u0004B]f\u0014VM\u001a\u0005\u0006\u001b\u0001!\tAD\u0001\u0007y%t\u0017\u000e\u001e \u0015\u0003=\u0001\"\u0001\u0005\u0001\u000e\u0003\tAQA\u0005\u0001\u0005\u0002M\tA!\\1j]R\u0011Ac\u0006\t\u0003\u000fUI!A\u0006\u0005\u0003\tUs\u0017\u000e\u001e\u0005\u00061E\u0001\r!G\u0001\u0005CJ<7\u000fE\u0002\b5qI!a\u0007\u0005\u0003\u000b\u0005\u0013(/Y=\u0011\u0005u\u0001cBA\u0004\u001f\u0013\ty\u0002\"\u0001\u0004Qe\u0016$WMZ\u0005\u0003C\t\u0012aa\u0015;sS:<\'BA\u0010\t\u0001" | |
) | |
public class Test { | |
public void main(String[] args) { | |
var2 = .MODULE$; | |
Inclusive var4; | |
(var4 = scala.collection.immutable.Range..MODULE$.inclusive(1, 20)).scala$collection$immutable$Range$$validateMaxLength(); | |
boolean var3 = var4.start() != Integer.MIN_VALUE || var4.end() != Integer.MIN_VALUE; | |
int var10 = var4.start(); | |
int var8 = 0; | |
int var5 = var4.terminalElement(); | |
for(int var9 = var4.step(); !var3?var8 < var4.numRangeElements():var10 != var5; var10 += var9) { | |
var10000 = .MODULE$; | |
Integer var7 = BoxesRunTime.boxToInteger(var10); | |
scala.Console..MODULE$.println(var7); | |
++var8; | |
} | |
} | |
} |
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
class Test { | |
def main(args: Array[String]) { | |
for(i <- 1 to 20) { | |
println(i) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment