- java.lang.Object
-
- xyz.cofe.collection.graph.GraphIteratorEvent<N,E>
-
- xyz.cofe.collection.graph.GraphIteratorEvent.PathFetched<N,E>
-
- Type Parameters:
N- Тип вершиныE- Тип ребра
- Enclosing class:
- GraphIteratorEvent<N,E>
public static class GraphIteratorEvent.PathFetched<N,E> extends GraphIteratorEvent<N,E>
Событие получения очередного пути в графе
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class xyz.cofe.collection.graph.GraphIteratorEvent
GraphIteratorEvent.FetchFinish<N,E>, GraphIteratorEvent.PathFetched<N,E>
-
-
Constructor Summary
Constructors Constructor Description PathFetched(GraphIterator<N,E> iterator, Path<N,E> path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path<N,E>getPath()Возвращает очередной путьbooleanisTerminal()Указывает является ли путь терминальным - т.е. из данного пути нет исходящих вершинvoidsetTerminal(boolean terminal)Указывает является ли путь терминальным - т.е. из данного пути нет исходящих вершин-
Methods inherited from class xyz.cofe.collection.graph.GraphIteratorEvent
getIterator
-
-
-
-
Method Detail
-
isTerminal
public boolean isTerminal()
Указывает является ли путь терминальным - т.е. из данного пути нет исходящих вершин- Returns:
- true - путь терминальный
-
setTerminal
public void setTerminal(boolean terminal)
Указывает является ли путь терминальным - т.е. из данного пути нет исходящих вершин- Parameters:
terminal- true - путь терминальный
-
-