Rename comparator
This commit is contained in:
parent
27a1d15632
commit
9c0d321104
1 changed files with 5 additions and 1 deletions
|
@ -17,13 +17,17 @@ import net.sf.junidecode.Junidecode;
|
|||
|
||||
|
||||
public abstract class MapObject implements Comparable<MapObject> {
|
||||
|
||||
public static final Comparator<MapObject> BY_NAME_COMPARATOR = new MapObjectComparator();
|
||||
|
||||
|
||||
protected String name = null;
|
||||
protected String enName = null;
|
||||
protected Map<String, String> names = null;
|
||||
protected LatLon location = null;
|
||||
protected int fileOffset = 0;
|
||||
protected Long id = null;
|
||||
public static final Comparator<MapObject> comparator = new MapObjectComparator();
|
||||
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
|
|
Loading…
Reference in a new issue