// Decompiled by DJ v2.6.6.51 Copyright 2000 Atanas Neshkov  Date: 6/15/2001 17:43:21
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   com/macromedia/generator/app/GenLogAlphaCompare

package com.macromedia.generator.app;

import java.io.File;

// Referenced classes of package com.macromedia.generator.app:
//            GenLogFile

class GenLogAlphaCompare
{

    GenLogAlphaCompare()
    {
    }

    public static int compare(Object obj, Object obj1)
    {
        File file = (File)obj;
        File file1 = (File)obj1;
        GenLogFile genlogfile = new GenLogFile(file);
        if(genlogfile == null || !genlogfile.verify())
            return 0;
        int i = genlogfile.getIndex();
        GenLogFile genlogfile1 = new GenLogFile(file1);
        if(genlogfile1 == null || !genlogfile1.verify())
            return 0;
        int j = genlogfile1.getIndex();
        if(i < j)
            return 1;
        return i <= j ? 0 : -1;
    }
}