moved java resolve tests to community

This commit is contained in:
Alexey Kudravtsev
2011-02-08 13:00:23 +03:00
parent e2ca615b10
commit be9220e9d0
198 changed files with 3836 additions and 0 deletions
@@ -0,0 +1,18 @@
public class Seq<T> {
public Seq() {}
public Seq(T x, Seq<T> xs) {
}
static <T> Seq<T> nil () {
return new Seq<T> ();
}
static <V> Seq<V> cons (V x, Seq<V> xs) {
return new Seq<V> (x, xs);
}
static void foo() {
Seq<String> n = <ref>nil();
}
}