class TopologicalOrderIterator extends AbstractGraphIterator<V, E> {

    @Override
    public void setCrossComponentTraversal(boolean crossComponentTraversal)
    {
        if (!crossComponentTraversal) {
            throw new IllegalArgumentException("Iterator is always cross-component");
        }
    }

    public  TopologicalOrderIterator(Graph<V, E> graph);
    @Deprecated public  TopologicalOrderIterator(Graph<V, E> graph, Queue<V> queue);
    public  TopologicalOrderIterator(Graph<V, E> graph, Comparator<V> comparator);

}