Constructor and Description |
---|
CombinedName(String key,
String remainder)
Creates with explicit strings for both parts.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MultiName other) |
boolean |
equals(Object obj)
If another name is equal to the current name.
|
Optional<String> |
firstPart()
The first part, and grouping key.
|
int |
hashCode() |
Iterator<String> |
iterator() |
String |
secondPart()
The second part of the name.
|
String |
toString()
The full name, including both directory and file part, as a string.
|
forEach, spliterator
public boolean equals(Object obj)
MultiName
public Optional<String> firstPart()
MultiName
public String secondPart()
MultiName
secondPart
in interface MultiName
public String toString()
MultiName
public int compareTo(MultiName other)
compareTo
in interface Comparable<MultiName>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.