Returns the next component (the component to the right of the most recently returned component), or null if no such component exists. For example, if the path is /a/b/c
and the most recently returned component is b
, then this will return the c
component.