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 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path<N,E>poll(List<Path<N,E>> paths)Извелчение пути из списка существующих.
-
-
-
Method Detail
-
poll
public Path<N,E> poll(List<Path<N,E>> paths)
Description copied from interface:GraphIteratorPollerИзвелчение пути из списка существующих. Извлекаемый путь, должен быть удален из списка- Specified by:
pollin interfaceGraphIteratorPoller<N,E>- Parameters:
paths- Список путей- Returns:
- Извлеченный путь
-
-