Module xyz.cofe.ecolls
Package xyz.cofe.collection.graph
Class GraphIteratorPoller.FirstPoller<N,E>
java.lang.Object
xyz.cofe.collection.graph.GraphIteratorPoller.FirstPoller<N,E>
- Type Parameters:
N- Тип вершиныE- Тип ребра
- All Implemented Interfaces:
GraphIteratorPoller<N,E>
- Enclosing interface:
- GraphIteratorPoller<N,E>
public static class GraphIteratorPoller.FirstPoller<N,E> extends java.lang.Object implements GraphIteratorPoller<N,E>
Извлекает первый элемент из списка
-
Nested Class Summary
Nested classes/interfaces inherited from interface xyz.cofe.collection.graph.GraphIteratorPoller
GraphIteratorPoller.FirstPoller<N,E> -
Constructor Summary
Constructors Constructor Description FirstPoller() -
Method Summary
-
Constructor Details
-
FirstPoller
public FirstPoller()
-
-
Method Details
-
poll
Description copied from interface:GraphIteratorPollerИзвелчение пути из списка существующих. Извлекаемый путь, должен быть удален из списка- Specified by:
pollin interfaceGraphIteratorPoller<N,E>- Parameters:
paths- Список путей- Returns:
- Извлеченный путь
-