package net.minecraft.scoreboard;

import java.util.Comparator;

final class ScoreComparator implements Comparator
{
    public int func_96659_a(Score par1Score, Score par2Score)
    {
        return par1Score.getScorePoints() > par2Score.getScorePoints() ? 1 : (par1Score.getScorePoints() < par2Score.getScorePoints() ? -1 : 0);
    }

    public int compare(Object par1Obj, Object par2Obj)
    {
        return this.func_96659_a((Score)par1Obj, (Score)par2Obj);
    }
}
