mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
17 lines
376 B
Java
17 lines
376 B
Java
// "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);
|
|
}
|
|
}
|