Class GraphIteratorPusher.PrependPusher<N,​E>

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

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

      • PrependPusher

        public PrependPusher()
    • 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 - Список добавляемых путей