|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
Represents a node in a (possibly remote) file system.
Note that the Object.equals(java.lang.Object)
method
must be implemented in such a way that two Nodes referring to the
same point in the file system are considered equal.
(Don't forget to implement Object.hashCode()
consistently with equals too).
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this node. |
Branch |
getParent()
Returns the parent branch of this node. |
Method Detail |
---|
java.lang.String getName()
Branch getParent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |