public class ValidationErrorComparator<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements java.util.Comparator<ValidationError<G,A,R>>, java.io.Serializable
Comparator
that compares ValidationError
instances for
display ordering.Constructor and Description |
---|
ValidationErrorComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ValidationError<G,A,R> o1,
ValidationError<G,A,R> o2) |
public int compare(@NotNull ValidationError<G,A,R> o1, @NotNull ValidationError<G,A,R> o2)
compare
in interface java.util.Comparator<ValidationError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>>