Directory.java 354 B

12345678910111213141516171819202122
  1. package GraphBrowser;
  2. import java.util.Vector;
  3. class Directory {
  4. TreeNode node;
  5. String name;
  6. Vector collapsed;
  7. public Directory(TreeNode nd,String n,Vector col) {
  8. collapsed=col;
  9. name=n;
  10. node=nd;
  11. }
  12. public TreeNode getNode() { return node; }
  13. public String getName() { return name; }
  14. public Vector getCollapsed() { return collapsed; }
  15. }