Searched defs:makeCell (Results 1 - 7 of 7) sorted by relevance

/openjdk7/langtools/test/tools/javac/generics/odersky/
H A DBadTest.java38 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:BadTest.Main
42 List<Cell<String>> as = nil().prepend(makeCell(null));
43 List<Cell<String>> bs = cons(makeCell(null), nil());
47 List<Cell<String>> us = id(nil()).prepend(makeCell(null));
48 List<Cell<String>> vs = cons(makeCell(null), id(nil()));
H A DTest.java37 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:Test
50 System.out.println(nil().prepend(makeCell(null)));
51 System.out.println(cons(makeCell(null), nil()));
58 System.out.println(id(nil()).prepend(makeCell(null)));
59 System.out.println(cons(makeCell(null), id(nil())));
H A DTest2.java39 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:Test2
H A DBadTest3.java51 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:BadTest3.Main
H A DTest3.java48 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:Test3
H A DBadTest4.java52 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:BadTest4.Main
H A DTest4.java49 static <A> Cell<A> makeCell(A x) { return new Cell<A>(x); } method in class:Test4

Completed in 57 milliseconds