N - Тип вершиныE - Тип ребраpublic static class GraphIteratorEvent.PathFetched<N,E> extends GraphIteratorEvent<N,E>
GraphIteratorEvent.FetchFinish<N,E>, GraphIteratorEvent.PathFetched<N,E>| Modifier and Type | Field and Description |
|---|---|
protected Path<N,E> |
path |
protected boolean |
terminal |
iterator| Constructor and Description |
|---|
PathFetched(GraphIterator<N,E> iterator,
Path<N,E> path) |
| Modifier and Type | Method and Description |
|---|---|
Path<N,E> |
getPath()
Возвращает очередной путь
|
boolean |
isTerminal()
Указывает является ли путь терминальным - т.е. из данного пути нет исходящих вершин
|
void |
setTerminal(boolean terminal)
Указывает является ли путь терминальным - т.е. из данного пути нет исходящих вершин
|
getIteratorpublic boolean isTerminal()
public void setTerminal(boolean terminal)
terminal - true - путь терминальныйCopyright © 2018. All rights reserved.