    001package net.minecraft.profiler;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005
    006public final class ProfilerResult implements Comparable
    007{
    008    public double field_76332_a;
    009    public double field_76330_b;
    010    public String field_76331_c;
    011
    012    public ProfilerResult(String par1Str, double par2, double par4)
    013    {
    014        this.field_76331_c = par1Str;
    015        this.field_76332_a = par2;
    016        this.field_76330_b = par4;
    017    }
    018
    019    public int func_76328_a(ProfilerResult par1ProfilerResult)
    020    {
    021        return par1ProfilerResult.field_76332_a < this.field_76332_a ? -1 : (par1ProfilerResult.field_76332_a > this.field_76332_a ? 1 : par1ProfilerResult.field_76331_c.compareTo(this.field_76331_c));
    022    }
    023
    024    @SideOnly(Side.CLIENT)
    025    public int func_76329_a()
    026    {
    027        return (this.field_76331_c.hashCode() & 11184810) + 4473924;
    028    }
    029
    030    public int compareTo(Object par1Obj)
    031    {
    032        return this.func_76328_a((ProfilerResult)par1Obj);
    033    }
    034}