Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/genericCreateFromUsage/after5.java
2010-06-25 12:46:40 +04:00

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);
}
}