public class TownComparator extends Object implements Comparator<com.palmergames.bukkit.towny.object.Town>
TownyHook
Constructor and Description |
---|
TownComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(com.palmergames.bukkit.towny.object.Town tow1,
com.palmergames.bukkit.towny.object.Town tow2)
Used to compare two Town objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(com.palmergames.bukkit.towny.object.Town tow1, com.palmergames.bukkit.towny.object.Town tow2)
compare
in interface Comparator<com.palmergames.bukkit.towny.object.Town>
tow1
- Town 1tow2
- Town 2Copyright © 2017. All rights reserved.