mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// "Create Constructor" "true"
|
||||
public class Seq<T> {
|
||||
public Seq() {}
|
||||
|
||||
public Seq(T x, Seq<T> xs) {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user