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

    Modifier and Type Method Description
    Path<N,​E> poll​(java.util.List<Path<N,​E>> paths)
    Извелчение пути из списка существующих.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • poll

      public Path<N,​E> poll​(java.util.List<Path<N,​E>> paths)
      Description copied from interface: GraphIteratorPoller
      Извелчение пути из списка существующих. Извлекаемый путь, должен быть удален из списка
      Specified by:
      poll in interface GraphIteratorPoller<N,​E>
      Parameters:
      paths - Список путей
      Returns:
      Извлеченный путь