| Package | Description |
|---|---|
| salvo.jesus.graph | |
| salvo.jesus.graph.listener |
| Modifier and Type | Class and Description |
|---|---|
class |
CycleException
Thrown when a cycle has occured when it is not desired.
|
class |
EmptyTreeException
Thrown when a Tree is empty and such operations
require a non-empty Tree.
|
class |
IllegalPathException
Thrown whenever a method in Path is called that will result
to a violation of the definition of a Path.
|
class |
IllegalTreeException
Thrown whenever a Tree becomes malformed as a result
of calling a method that is declared on its superinterface
but is not supported.
|
class |
NoSuchVertexException |
| Modifier and Type | Method and Description |
|---|---|
List |
TreeImpl.getChildren(Vertex vertex) |
List |
Tree.getChildren(Vertex vertex)
Returns the child nodes of the node specified by the argument.
|
int |
TreeImpl.getDepth(Vertex node) |
int |
Tree.getDepth(Vertex node)
Returns the depth of the node in the Tree.
|
Vertex |
TreeImpl.getParent(Vertex vertex) |
Vertex |
Tree.getParent(Vertex vertex)
Returns the parent node of the node specified by the argument.
|
boolean |
TreeImpl.isLeaf(Vertex vertex) |
boolean |
Tree.isLeaf(Vertex vertex)
Returns true if the specified node is a leaf.
|
void |
TreeImpl.setRoot(Vertex rootVertex) |
void |
Tree.setRoot(Vertex rootVertex)
Sets the root of the Tree.
|
| Modifier and Type | Method and Description |
|---|---|
List |
TreeListener.getChildren(Vertex vertex) |
int |
TreeListener.getDepth(Vertex node) |
Vertex |
TreeListener.getParent(Vertex vertex) |
boolean |
TreeListener.isLeaf(Vertex vertex) |
void |
TreeListener.setRoot(Vertex rootVertex) |
Copyright © 2019 JULIE Lab, Germany. All rights reserved.