public class HasNameSort extends Object implements Comparator<HasName>, Serializable
HasName
instances.Constructor and Description |
---|
HasNameSort() |
Modifier and Type | Method and Description |
---|---|
int |
compare(HasName h1,
HasName h2) |
equals
public int compare(HasName h1, HasName h2)
compare
in interface Comparator<HasName>
Copyright © 2018. All rights reserved.