Package com.googlecode.objectify.impl
Class ForwardPath
java.lang.Object
com.googlecode.objectify.impl.ForwardPath
This is a wrapper for a Path that makes it backwards; instead of going from tail to head,
it has links from head to tail. This is sometimes useful for forward traversal of a path.
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the complete path in this chain, typically for error messages or debugginggetNext()
getPath()
static ForwardPath
Recursive method which reverses the path into a ForwardPath.toString()
-
Constructor Details
-
ForwardPath
-
-
Method Details
-
of
Recursive method which reverses the path into a ForwardPath.- Parameters:
path
- cannot be the root path.
-
getPath
- Returns:
- the real full path to this place
-
getNext
- Returns:
- the next path in the forward traversal
-
getFinalPath
Get the complete path in this chain, typically for error messages or debugging -
toString
-