Class SimpleName
Object
SimpleName
- All Implemented Interfaces:
Comparable<MultiName>
,Iterable<String>
,MultiName
A name with only one part, and is always unique.
- Author:
- Owen Feehan
-
Constructor Details
-
SimpleName
-
-
Method Details
-
iterator
-
firstPart
Description copied from interface:MultiName
The first part, and grouping key. -
secondPart
Description copied from interface:MultiName
The second part of the name.- Specified by:
secondPart
in interfaceMultiName
- Returns:
- the name of the part.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MultiName>
-
toString
Description copied from interface:MultiName
The full name, including both directory and file part, as a string. -
equals
Description copied from interface:MultiName
If another name is equal to the current name. -
canEqual
-
hashCode
public int hashCode()
-