| Package | Description |
|---|---|
| xyz.cofe.collection.graph |
Графы, однонаправленные, многонаправленные, Прослушивание измений графа
|
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphIteratorEvent.FetchFinish<N,E>
Событие получения завершения обхода
|
static class |
GraphIteratorEvent.PathFetched<N,E>
Событие получения очередного пути в графе
|
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentLinkedQueue<GraphIteratorEvent<N,E>> |
GraphIterator.eventQueue
Очередь сообщений
|
protected ListenersHelper<GraphIteratorListener,GraphIteratorEvent<N,E>> |
GraphIterator.listeners
Подписки
|
| Modifier and Type | Method and Description |
|---|---|
<EventType extends GraphIteratorEvent> |
GraphIterator.listen(Class<EventType> evType,
Reciver<EventType> listener)
Добавляет подписчика на событие определенного типа
|
| Modifier and Type | Method and Description |
|---|---|
void |
GraphIterator.addEvent(GraphIteratorEvent<N,E> event)
Добавляет событие в очередь
|
protected void |
GraphIterator.fireEvent(GraphIteratorEvent<N,E> event)
Уведомление о событии подписчиков
|
void |
FullPathCollector.graphIteratorEvent(GraphIteratorEvent<N,E> ev) |
void |
GraphIteratorListener.graphIteratorEvent(GraphIteratorEvent<N,E> event)
Уведомление подписчика о событии GrpaphIterator
|
void |
CyclePathCollector.graphIteratorEvent(GraphIteratorEvent<N,E> ev) |
Copyright © 2018. All rights reserved.