public class QuestComparator extends java.lang.Object implements java.util.Comparator<Quest>, java.io.Serializable
Comparator
to compare Quest
instances by title and code.Constructor and Description |
---|
QuestComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(@NotNull Quest o1,
@NotNull Quest o2) |