Package com.rosetta.util
Class DottedPath
java.lang.Object
com.rosetta.util.DottedPath
- All Implemented Interfaces:
Comparable<DottedPath>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDottedPath(DottedPath other) protectedDottedPath(String... segments) -
Method Summary
Modifier and TypeMethodDescriptionintconcat(DottedPath second) booleanfirst()inthashCode()last()static DottedPathparent()static DottedPathstatic DottedPathsplitOnDots(String str) static DottedPathbooleanstartsWith(DottedPath other) stream()tail()toPath()toString()withDots()withSeparator(CharSequence separator)
-
Field Details
-
segments
-
-
Constructor Details
-
DottedPath
-
DottedPath
-
-
Method Details
-
first
-
tail
-
last
-
of
-
split
-
splitOnDots
-
splitOnForwardSlashes
-
child
-
parent
-
concat
-
withSeparator
-
withDots
-
withForwardSlashes
-
toPath
-
stream
-
startsWith
-
compareTo
- Specified by:
compareToin interfaceComparable<DottedPath>
-
toString
-
hashCode
public int hashCode() -
equals
-