Class GraphIteratorPusher.AppendPusher<N,​E>

  • Type Parameters:
    N - Тип вершины
    E - Тип ребра
    All Implemented Interfaces:
    GraphIteratorPusher<N,​E>
    Enclosing interface:
    GraphIteratorPusher<N,​E>

    public static class GraphIteratorPusher.AppendPusher<N,​E>
    extends Object
    implements GraphIteratorPusher<N,​E>
    Добавляет элементы в конец списка
    • Constructor Detail

      • AppendPusher

        public AppendPusher()
    • Method Detail

      • push

        public void push​(List<Path<N,​E>> reciveList,
                         List<Path<N,​E>> pushList)
        Description copied from interface: GraphIteratorPusher
        Добавление/вставка новых путей
        Specified by:
        push in interface GraphIteratorPusher<N,​E>
        Parameters:
        reciveList - Принимающий список
        pushList - Список добавляемых путей