Class SplitPath
Object
SplitPath
A path that has been split into two components: a root and a remainder.
This is an immutable class.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SplitPath
Creates a newSplitPath
instance.- Parameters:
root
- The first component, the root of the path.remainder
- The second component, what remains in the path.
-
-
Method Details
-
combined
A path that combines theroot
together with theremainder
.- Returns:
- the
remainder
joined to theroot
.
-
getRoot
The first component, the root of the path. -
getRemainder
The second component, what remains in the path. -
equals
-
hashCode
public int hashCode() -
toString
-