package path;

import java.util.Iterator;

public class RedirectablePath implements Path {

    @Override
    public Iterator<String> getPathIterator() {
        return null;
    }

    @Override
    public int length() {
        return 0;
    }

    public Iterator<RedirectableNode> getRedirectablePathIterator() {
        return null;
    }
}

package path;

import java.util.ArrayList;
import java.util.Iterator;

public class RedirectablePath implements Path {
    private ArrayList<RedirectableNode> redirectableNodeArray;

    public RedirectablePath(ArrayList<RedirectableNode> redirectableNodeArray) {
        this.redirectableNodeArray = redirectableNodeArray;
    }

    @Override
    public Iterator<String> getPathIterator() {
        return null;
    }

    @Override
    public int length() {
        return 0;
    }


    public Iterator<String> getRedirectablePathIterator() {
        return null;
    }
}

add RedirectablePath constructor.