20 lines
304 B
Java
20 lines
304 B
Java
|
package Calendar;
|
||
|
|
||
|
import java.util.TreeSet;
|
||
|
|
||
|
public enum ActivityType {
|
||
|
Retrieve,
|
||
|
FirstRelease,
|
||
|
Renew,
|
||
|
Shipment,
|
||
|
Lost,
|
||
|
Ruined;
|
||
|
public TreeSet<String> Names () {
|
||
|
TreeSet<String> TMP = new TreeSet<>();
|
||
|
for (var name: ActivityType.values()) {
|
||
|
TMP.add(name.toString());
|
||
|
}
|
||
|
return TMP;
|
||
|
}
|
||
|
}
|