public interface Node
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).
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this node.
|
Branch |
getParent()
Returns the parent branch of this node.
|
String getName()
Branch getParent()
null
.Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.