Interface MultiName
- All Superinterfaces:
Comparable<MultiName>
,Iterable<String>
- All Known Implementing Classes:
CombinedName
,SimpleName
A name that that uniquely identifies an entity, and is composed of two parts.
The first part is also a grouping key for aggregation.
Together both the first and second parts uniquely identify an entity.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If another name is equal to the current name.The first part, and grouping key.The second part of the name.toString()
The full name, including both directory and file part, as a string.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
firstPart
The first part, and grouping key.- Returns:
- the name of part, if it exists.
-
secondPart
String secondPart()The second part of the name.- Returns:
- the name of the part.
-
toString
String toString()The full name, including both directory and file part, as a string. -
equals
If another name is equal to the current name.
-