    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005
    006    public 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    }