|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spin.demo.complex.Directory
public class Directory
A directory.
Constructor Summary | |
---|---|
Directory(java.lang.String name,
boolean isLeaf)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name. |
boolean |
isLeaf()
Test if directory has children. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Directory(java.lang.String name, boolean isLeaf)
name
- name of this directoryisLeaf
- is this directory a leafMethod Detail |
---|
public boolean isLeaf()
true
if this directory is a leafpublic java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |