mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 08:20:55 +07:00
13 lines
238 B
Java
13 lines
238 B
Java
// "Create Constructor" "true"
|
|
public class Seq<T> {
|
|
public Seq() {}
|
|
|
|
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)<caret>;
|
|
}
|
|
}
|