public class SkillTypeRankComparator extends java.lang.Object implements java.util.Comparator<SkillType>
Note: this comparator can impose orderings that are inconsistent with equals.
In order to overcome the inconsistency with equals this comparator allows the introduction of a sub-comparator which is applied in cases of equality. I.e. if the two compared objects have the same rank and they would be regarded as equal by this comparator, instead of 0 the result of the sub-comparator's comparison is returned.
|Constructor and Description|
Creates a new SkillTypeRankComparator object.
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SkillTypeRankComparator(java.util.Comparator<? super SkillType> subComparator, java.util.Properties settings)