spin.demo.complex
Class Directory
java.lang.Objectspin.demo.complex.Directory
public class Directory
extends java.lang.Object
A directory.
Directory(String name, boolean isLeaf)- Constructor.
|
String | getName()- Get the name.
|
boolean | isLeaf()- Test if directory has children.
|
Directory
public Directory(String name,
boolean isLeaf) Constructor.
name - name of this directoryisLeaf - is this directory a leaf
getName
public String getName()
Get the name.
isLeaf
public boolean isLeaf()
Test if directory has children.
true if this directory is a leaf