EldiraSesto

ProductTree

May 20th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. package tree;
  2.  
  3. import rbvs.product.IProduct;
  4. import tree.node.ITreeNode;
  5. import tree.node.ProductTreeNode;
  6.  
  7. public class ProductTree extends GenericTree<IProduct> { //Eldira 11815163
  8.     public ProductTree(ITreeNode<IProduct> root) {
  9.         super(root);
  10.     }
  11.  
  12.     public ProductTree(IProduct product) {
  13.         this(new ProductTreeNode(product));
  14.     }
  15.  
  16.     public ProductTree() {
  17.         super();
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment