Class LevelBasedComparator
java.lang.Object
games.stendhal.server.entity.creature.LevelBasedComparator
- All Implemented Interfaces:
Serializable
,Comparator<RPEntity>
Compares two RPEntities based on their level.
- Author:
- hendrik
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
LevelBasedComparator
public LevelBasedComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<RPEntity>
-