This file contains hidden or 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 java.util.* | |
abstract class Stream<out T>() { | |
abstract fun <R> with(value: R): Stream<Pair<T, R>>; | |
} | |
сlass ImmutableList<out T>: Stream<T> { | |
private val data: ArrayList<T>; |
This file contains hidden or 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
Compiled from "test.kt" | |
public final class TestKt { | |
public static final void main(java.lang.String[]); | |
Code: | |
0: aload_0 | |
1: ldc #9 // String args | |
3: invokestatic #15 // Method kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull:(Ljava/lang/Object;Ljava/lang/String;)V | |
6: new #17 // class ImmutableList | |
9: dup | |
10: iconst_5 |
This file contains hidden or 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
// CS124 HW1 SpamLord | |
import java.util.regex.*; | |
import java.util.Collections; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.ArrayList; | |
import java.util.Set; | |
import java.util.HashSet; | |
import java.io.*; |
This file contains hidden or 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
int main() | |
{ | |
return 0; | |
} |
NewerOlder