import Tree.*; class Tree { case Empty; case Branch(A elem, Tree left, Tree right); } public class Test { public static void main(String[] args) { Tree t = Branch(2, Branch(1, Empty, Empty), Branch(3, Empty, Empty)); } }